mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-27 08:40:00 +00:00
44 lines
1.8 KiB
XML
44 lines
1.8 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:orientation="vertical"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/topView"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:paddingLeft="@dimen/spacing_large"
|
||
|
|
android:paddingRight="@dimen/spacing_large"
|
||
|
|
android:paddingTop="@dimen/spacing_medium"
|
||
|
|
android:paddingBottom="@dimen/spacing_medium">
|
||
|
|
<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"
|
||
|
|
/>
|
||
|
|
<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"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
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"/>
|
||
|
|
</LinearLayout>
|