habitica-android/Habitica/res/layout/adventure_guide_menu_banner.xml
2020-06-15 18:05:32 +02:00

81 lines
No EOL
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/adventure_guide_menu_bg"
tools:parentTag="android.widget.FrameLayout">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_marginStart="8dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="12dp"
android:background="@drawable/adventure_guide_menu_card_bg">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="16dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="12dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/onboarding_tasks"
style="@style/Body1"
android:textColor="@color/gray_50"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/complete_for_gold"
android:textColor="@color/gray_50"
android:textSize="12sp" />
<TextView
android:id="@+id/count_view"
style="@style/Subheader1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/yellow_5"
tools:text="2/5" />
</LinearLayout>
<ProgressBar
android:id="@+id/progress_bar"
android:layout_width="match_parent"
android:layout_height="4dp"
android:progressTint="@color/yellow_50"
style="@android:style/Widget.ProgressBar.Horizontal"
android:progressBackgroundTint="@color/gray_600"
tools:progress="2"
android:max="5"/>
</LinearLayout>
<FrameLayout
android:layout_width="24dp"
android:layout_height="match_parent"
android:background="@drawable/adventure_guide_menu_card_gray">
<ImageView
android:layout_width="24dp"
android:layout_height="match_parent"
android:background="@drawable/adventure_guide_menu_card_gray"
android:src="@drawable/ic_keyboard_arrow_right"
android:scaleType="center"
android:alpha="0.4"
/>
</FrameLayout>
</LinearLayout>
</merge>