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

192 lines
8.1 KiB
XML
Raw Normal View History

2017-05-23 15:40:13 +00:00
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
2018-01-31 17:48:12 +00:00
android:layout_height="match_parent"
2020-09-17 11:47:02 +00:00
android:paddingStart="4dp"
android:paddingEnd="4dp"
2018-01-31 17:48:12 +00:00
android:paddingTop="4dp"
android:paddingBottom="8dp">
<LinearLayout
2018-01-31 17:48:12 +00:00
android:id="@+id/questImageTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/spacing_large"
android:paddingBottom="@dimen/spacing_large"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="12dp"
2018-02-14 11:45:11 +00:00
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2018-01-31 17:48:12 +00:00
android:text="@string/boss_art"
android:textColor="@color/white"
2018-02-14 19:49:19 +00:00
android:textSize="16sp" />
2018-02-14 11:45:11 +00:00
<TextView
android:id="@+id/artCreditTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-09-04 16:17:34 +00:00
tools:text="By @AnnDeLune"
2018-02-14 11:45:11 +00:00
android:textColor="@color/white"
android:textSize="12sp"
2020-09-04 16:17:34 +00:00
android:layout_marginEnd="@dimen/spacing_medium"/>
<ImageView
android:id="@+id/caretView"
2018-02-14 19:49:19 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
2018-01-31 17:48:12 +00:00
<View
android:id="@+id/questImageSeparator"
android:layout_width="match_parent"
android:layout_height="1dp" />
<FrameLayout
android:id="@+id/questImageWrapper"
android:layout_width="match_parent"
2018-02-14 19:49:19 +00:00
android:layout_height="wrap_content"
android:clipChildren="true">
<com.habitrpg.android.habitica.ui.views.WrapContentDraweeView
android:id="@+id/questImageView"
android:layout_width="219dp"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_large"
android:paddingBottom="@dimen/spacing_large"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="@dimen/spacing_large"
2018-02-14 19:49:19 +00:00
android:layout_gravity="center_horizontal" />
<com.habitrpg.android.habitica.ui.views.WrapContentDraweeView
android:id="@+id/questFlourishesImageView"
android:layout_width="310dp"
android:layout_height="219dp"
android:layout_marginTop="@dimen/spacing_large"
android:paddingBottom="@dimen/spacing_large"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="@dimen/spacing_large"
2018-02-14 19:49:19 +00:00
android:layout_gravity="center_horizontal" />
</FrameLayout>
<LinearLayout
2017-05-23 15:40:13 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-02-14 19:49:19 +00:00
android:layout_marginBottom="@dimen/spacing_medium"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="@dimen/spacing_large"
android:layout_marginTop="@dimen/spacing_large">
<TextView
android:id="@+id/bossNameView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
tools:text="Quest Boss"
style="@style/Body1"
android:textColor="@color/white"/>
<ImageView
android:id="@+id/pendingDamageIconView"
android:layout_width="@dimen/icon_size"
android:layout_height="@dimen/icon_size"
2020-09-17 11:47:02 +00:00
android:layout_marginEnd="@dimen/spacing_small"/>
<TextView
android:id="@+id/pendingDamageTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="12dp"
android:textColor="@color/red_100"/>
</LinearLayout>
2017-05-23 15:40:13 +00:00
<com.habitrpg.android.habitica.ui.views.ValueBar
android:id="@+id/bossHealthView"
2017-05-23 15:40:13 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:barForegroundColor="@color/red_50"
app:valueTextColor="@color/white"
2020-09-04 16:17:34 +00:00
app:barBackgroundColor="@color/content_15_alpha"
app:barHeight="8dp"
2018-02-14 19:49:19 +00:00
app:labelSpacing="@dimen/spacing_medium"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="@dimen/spacing_large" />
2018-02-14 19:49:19 +00:00
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-02-14 19:49:19 +00:00
android:layout_marginBottom="@dimen/spacing_medium"
android:layout_marginTop="@dimen/spacing_large"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="@dimen/spacing_large">
2018-02-14 19:49:19 +00:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rage_attack"
style="@style/Body1"
android:textColor="@color/white"/>
<TextView
android:id="@+id/rageMeterView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Boss Rage"
android:textSize="14sp"
2020-09-04 16:17:34 +00:00
android:layout_marginStart="@dimen/spacing_medium"
2018-02-14 19:49:19 +00:00
android:textColor="@color/white"/>
</LinearLayout>
<com.habitrpg.android.habitica.ui.views.ValueBar
android:id="@+id/bossRageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:barForegroundColor="@color/orange_100"
app:valueTextColor="@color/white"
2020-09-04 16:17:34 +00:00
app:barBackgroundColor="@color/content_15_alpha"
app:barHeight="8dp"
2018-02-14 19:49:19 +00:00
app:labelSpacing="@dimen/spacing_medium"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="@dimen/spacing_large"
2018-01-31 17:48:12 +00:00
android:layout_marginBottom="@dimen/spacing_large"/>
2017-05-23 15:40:13 +00:00
<LinearLayout
android:id="@+id/collectionContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2020-09-17 11:47:02 +00:00
android:paddingStart="@dimen/spacing_large"
android:paddingEnd="@dimen/spacing_large"/>
<TextView
android:id="@+id/collectedItemsNumberView"
android:layout_width="match_parent"
android:gravity="end"
android:layout_height="wrap_content"
tools:text="+N items found"/>
<TextView
android:id="@+id/rageStrikeDescriptionView"
2017-05-23 15:40:13 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="Rage Strikes: 1/3"
style="@style/Body1"
2020-09-04 16:17:34 +00:00
android:background="@drawable/layout_rounded_bg_content_15"
android:gravity="center"
android:paddingTop="@dimen/spacing_small"
android:paddingBottom="@dimen/spacing_small"
android:textColor="@color/orange_500"
2020-09-17 11:47:02 +00:00
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginEnd="@dimen/spacing_large"/>
2018-02-01 17:50:05 +00:00
<LinearLayout
android:id="@+id/rageStrikeContainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/spacing_large"
android:layout_marginBottom="@dimen/spacing_large" />
<com.habitrpg.android.habitica.ui.views.CollapsibleSectionView
2018-01-31 17:48:12 +00:00
android:id="@+id/questDescriptionSection"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:title="@string/world_boss_description"
app:identifier="questDescription"
2020-09-04 16:17:34 +00:00
app:color="@color/content_background">
<TextView
android:id="@+id/questDescription"
android:layout_width="match_parent"
2018-01-31 17:48:12 +00:00
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textSize="14sp"
android:lineSpacingExtra="2dp"/>
</com.habitrpg.android.habitica.ui.views.CollapsibleSectionView>
2017-05-23 15:40:13 +00:00
</LinearLayout>