2018-02-08 19:27:05 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-09 16:05:50 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-02-08 19:27:05 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-02-09 16:05:50 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-02-08 19:27:05 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
2018-02-09 16:05:50 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:clipChildren="true">
|
|
|
|
|
<com.habitrpg.android.habitica.ui.views.WrapContentDraweeView
|
|
|
|
|
android:id="@+id/bossArtView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:background="@color/red_10"
|
|
|
|
|
android:layout_marginTop="-30dp"
|
|
|
|
|
/>
|
2018-02-08 19:27:05 +00:00
|
|
|
<LinearLayout
|
2018-02-09 16:05:50 +00:00
|
|
|
android:orientation="vertical"
|
2018-02-08 19:27:05 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-09 16:05:50 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_alignParentTop="true">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/topView"
|
|
|
|
|
android:layout_width="match_parent"
|
2018-02-08 19:27:05 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-09 16:05:50 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_large"
|
|
|
|
|
android:paddingRight="@dimen/spacing_large"
|
|
|
|
|
android:paddingTop="@dimen/spacing_medium"
|
|
|
|
|
android:paddingBottom="@dimen/spacing_medium">
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/closeButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:srcCompat="@drawable/ic_close_white_24dp"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:contentDescription="@string/hide_boss_art"
|
|
|
|
|
android:layout_gravity="right"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/bossNameView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="right"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:text="Boss Name"
|
|
|
|
|
/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/typeTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/world_boss"
|
|
|
|
|
android:layout_gravity="right|center_vertical"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="12sp"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<com.habitrpg.android.habitica.ui.views.ValueBar
|
|
|
|
|
android:id="@+id/healthBarView"
|
|
|
|
|
android:layout_width="match_parent"
|
2018-02-08 19:27:05 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-09 16:05:50 +00:00
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
|
|
|
|
android:paddingRight="@dimen/spacing_large"
|
|
|
|
|
android:paddingTop="@dimen/spacing_medium"
|
|
|
|
|
android:paddingBottom="@dimen/spacing_small"
|
|
|
|
|
app:barForegroundColor="@color/red_100"
|
|
|
|
|
app:barBackgroundColor="@color/white_15_alpha"
|
|
|
|
|
tools:background="@color/brand_50"/>
|
2018-02-08 19:27:05 +00:00
|
|
|
</LinearLayout>
|
2018-02-09 16:05:50 +00:00
|
|
|
|
|
|
|
|
</RelativeLayout>
|