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"
|
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingBottom="8dp">
|
2018-01-30 16:57:12 +00:00
|
|
|
<LinearLayout
|
2018-01-31 17:48:12 +00:00
|
|
|
android:id="@+id/questImageTitle"
|
2018-01-30 16:57:12 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingTop="@dimen/spacing_large"
|
|
|
|
|
android:paddingBottom="@dimen/spacing_large"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
2018-02-13 12:01:52 +00:00
|
|
|
android:paddingRight="12dp">
|
2018-01-30 16:57:12 +00:00
|
|
|
<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"
|
|
|
|
|
android:textSize="16sp" />
|
2018-01-30 16:57:12 +00:00
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/caretView"
|
|
|
|
|
android:layout_width="18dp"
|
|
|
|
|
android:layout_height="18dp" />
|
|
|
|
|
</LinearLayout>
|
2018-01-31 17:48:12 +00:00
|
|
|
<View
|
|
|
|
|
android:id="@+id/questImageSeparator"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp" />
|
|
|
|
|
<com.habitrpg.android.habitica.ui.views.WrapContentDraweeView
|
2018-01-30 16:57:12 +00:00
|
|
|
android:id="@+id/questImageView"
|
|
|
|
|
android:layout_width="match_parent"
|
2018-01-31 17:48:12 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"
|
2018-02-06 16:57:23 +00:00
|
|
|
android:paddingBottom="@dimen/spacing_large"
|
2018-01-31 17:48:12 +00:00
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
|
|
|
|
android:paddingRight="@dimen/spacing_large"/>
|
2017-05-23 15:40:13 +00:00
|
|
|
<TextView
|
2018-01-30 16:57:12 +00:00
|
|
|
android:id="@+id/bossNameView"
|
2017-05-23 15:40:13 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="Quest Boss"
|
|
|
|
|
android:textStyle="bold"
|
2018-01-30 16:57:12 +00:00
|
|
|
android:layout_marginBottom="@dimen/spacing_small"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
2018-01-31 17:48:12 +00:00
|
|
|
android:paddingRight="@dimen/spacing_large"
|
2018-02-06 16:57:23 +00:00
|
|
|
android:layout_marginTop="@dimen/spacing_large"
|
2018-01-31 17:48:12 +00:00
|
|
|
android:textColor="@color/white"/>
|
2017-05-23 15:40:13 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.views.ValueBar
|
2018-01-30 16:57:12 +00:00
|
|
|
android:id="@+id/bossHealthView"
|
2017-05-23 15:40:13 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-11 11:31:20 +00:00
|
|
|
app:barForegroundColor="@color/red_100"
|
2018-01-31 17:48:12 +00:00
|
|
|
app:textColor="@color/white"
|
|
|
|
|
app:barBackgroundColor="@color/white_15_alpha"
|
2018-01-30 16:57:12 +00:00
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
|
|
|
|
android:paddingRight="@dimen/spacing_large" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/rageMeterView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="Boss Rage"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_small"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
2018-01-31 17:48:12 +00:00
|
|
|
android:paddingRight="@dimen/spacing_large"
|
|
|
|
|
android:textColor="@color/white"/>
|
2018-01-30 16:57:12 +00:00
|
|
|
<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"
|
2018-01-31 17:48:12 +00:00
|
|
|
app:textColor="@color/white"
|
|
|
|
|
app:barBackgroundColor="@color/white_15_alpha"
|
2018-01-30 16:57:12 +00:00
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
2018-01-31 17:48:12 +00:00
|
|
|
android:paddingRight="@dimen/spacing_large"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
2017-05-23 15:40:13 +00:00
|
|
|
<LinearLayout
|
2018-01-30 16:57:12 +00:00
|
|
|
android:id="@+id/collectionContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
|
|
|
|
android:paddingRight="@dimen/spacing_large"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/rageStrikeDescriptionView"
|
2017-05-23 15:40:13 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-01-30 16:57:12 +00:00
|
|
|
tools:text="Rage Strikes: 1/3"
|
|
|
|
|
android:background="@drawable/layout_rounded_bg_white_15"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:paddingTop="@dimen/spacing_small"
|
|
|
|
|
android:paddingBottom="@dimen/spacing_small"
|
|
|
|
|
android:textColor="@color/orange_500"
|
2018-01-31 17:48:12 +00:00
|
|
|
android:layout_marginLeft="@dimen/spacing_large"
|
2018-02-01 17:50:05 +00:00
|
|
|
android:layout_marginRight="@dimen/spacing_large"/>
|
|
|
|
|
<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" />
|
2018-01-30 16:57:12 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.views.CollapsibleSectionView
|
2018-01-31 17:48:12 +00:00
|
|
|
android:id="@+id/questDescriptionSection"
|
2018-01-30 16:57:12 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:title="@string/world_boss_description"
|
|
|
|
|
app:identifier="questDescription"
|
2018-01-31 17:48:12 +00:00
|
|
|
app:color="@color/white">
|
2018-01-30 16:57:12 +00:00
|
|
|
<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"/>
|
2018-01-30 16:57:12 +00:00
|
|
|
</com.habitrpg.android.habitica.ui.views.CollapsibleSectionView>
|
2017-05-23 15:40:13 +00:00
|
|
|
</LinearLayout>
|