2018-02-09 16:48:27 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-15 15:43:31 +00:00
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-02-09 16:48:27 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-02-15 15:43:31 +00:00
|
|
|
tools:parentTag="android.widget.LinearLayout"
|
2018-02-09 16:48:27 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
2023-09-04 09:22:57 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/boss_health_wrapper"
|
2018-02-09 16:48:27 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-09-04 09:22:57 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:src="@drawable/icon_boss_health"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/bossNameView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/SubHeader1"
|
|
|
|
|
tools:text="item to collect"
|
|
|
|
|
android:textColor="@color/text_primary"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_small"/>
|
|
|
|
|
<com.habitrpg.common.habitica.views.ValueBar
|
|
|
|
|
android:id="@+id/bossHealthView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:barForegroundColor="@color/red_100"
|
|
|
|
|
app:barBackgroundColor="@color/offset_background"
|
|
|
|
|
app:barPendingColor="@color/yellow_50"
|
|
|
|
|
app:lightBackground="true"
|
|
|
|
|
app:valueTextColor="@color/text_ternary"
|
|
|
|
|
app:labelSpacing="@dimen/spacing_small"
|
|
|
|
|
app:descriptionTextColor="@color/yellow_5"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/boss_rage_wrapper"
|
2018-07-26 13:44:47 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-09-04 09:22:57 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
android:src="@drawable/icon_boss_rage"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/boss_rage_name_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/SubHeader1"
|
|
|
|
|
android:textColor="@color/text_primary"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_small"/>
|
|
|
|
|
<com.habitrpg.common.habitica.views.ValueBar
|
|
|
|
|
android:id="@+id/bossRageView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:barBackgroundColor="@color/offset_background"
|
|
|
|
|
app:barForegroundColor="@color/orange_100"
|
|
|
|
|
app:lightBackground="true"
|
|
|
|
|
app:valueTextColor="@color/text_ternary"
|
|
|
|
|
app:labelSpacing="@dimen/spacing_small" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2018-02-09 16:48:27 +00:00
|
|
|
<LinearLayout
|
2018-02-15 15:43:31 +00:00
|
|
|
android:id="@+id/collectionContainer"
|
2018-02-09 16:48:27 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"/>
|
2023-09-04 09:22:57 +00:00
|
|
|
</merge>
|