mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 11:46:32 +00:00
109 lines
No EOL
4.5 KiB
XML
109 lines
No EOL
4.5 KiB
XML
<?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"
|
|
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"
|
|
android:background="?attr/colorContentBackground"
|
|
android:minHeight="?attr/actionBarSize"
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
app:popupTheme="@style/Theme.AppCompat.Light" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbarSize="3dp"
|
|
android:scrollbarThumbVertical="@color/scrollbarThumb"
|
|
android:scrollbars="vertical">
|
|
|
|
<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
|
|
style="@style/SubHeader1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:layout_marginEnd="30dp"
|
|
android:layout_marginBottom="@dimen/spacing_medium"
|
|
android:text="@string/starting_objectives"
|
|
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"
|
|
android:text="@string/adventure_guide_description_new"
|
|
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"
|
|
android:textColor="@color/text_brand_neon" />
|
|
</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"
|
|
android:progressTint="@color/brand_400" />
|
|
|
|
<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> |