habitica-android/Habitica/res/layout/activity_adventure_guide.xml

109 lines
4.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
2022-12-19 13:40:02 +00:00
android:orientation="vertical">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-09-04 16:17:34 +00:00
android:background="?attr/colorContentBackground"
android:minHeight="?attr/actionBarSize"
app:layout_scrollFlags="scroll|enterAlways"
2020-09-04 16:17:34 +00:00
app:popupTheme="@style/Theme.AppCompat.Light" />
</com.google.android.material.appbar.AppBarLayout>
2020-09-04 16:17:34 +00:00
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
2020-09-04 16:17:34 +00:00
android:layout_height="match_parent"
android:scrollbarSize="3dp"
android:scrollbarThumbVertical="@color/scrollbarThumb"
android:scrollbars="vertical">
2020-09-04 16:17:34 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/spacing_medium"
android:src="@drawable/adventure_guide_art" />
<TextView
2022-06-30 10:14:31 +00:00
style="@style/SubHeader1"
2020-09-04 16:17:34 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="30dp"
android:layout_marginEnd="30dp"
android:layout_marginBottom="@dimen/spacing_medium"
2022-01-20 14:00:57 +00:00
android:text="@string/starting_objectives"
2020-09-04 16:17:34 +00:00
android:textColor="@color/text_primary" />
<TextView
android:id="@+id/description_view"
style="@style/Body2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="30dp"
android:layout_marginEnd="30dp"
android:gravity="center_horizontal"
2022-01-20 14:00:57 +00:00
android:text="@string/adventure_guide_description_new"
2020-09-04 16:17:34 +00:00
android:textColor="@color/text_primary" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="30dp"
android:layout_marginTop="24dp"
android:layout_marginEnd="30dp">
<TextView
style="@style/Caption1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/your_progress"
android:textColor="@color/text_secondary" />
<Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/progress_textview"
style="@style/Caption2.Regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/lets_get_started"
2022-01-20 14:00:57 +00:00
android:textColor="@color/text_brand_neon" />
2020-09-04 16:17:34 +00:00
</LinearLayout>
<ProgressBar
android:id="@+id/progress_bar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="30dp"
android:layout_marginEnd="30dp"
android:layout_marginBottom="@dimen/spacing_medium"
android:progressBackgroundTint="@color/offset_background"
2022-01-20 14:00:57 +00:00
android:progressTint="@color/brand_400" />
2020-09-04 16:17:34 +00:00
<LinearLayout
android:id="@+id/achievement_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>