Files
andors-trail/AndorsTrail/res/layout/rangebar.xml
2017-11-07 17:30:32 +01:00

49 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView
android:id="@+id/rangebar_label"
android:layout_width="@dimen/rangebar_labelwidth_small"
android:layout_height="wrap_content"
android:textSize="@dimen/statusbar_text"
android:layout_marginRight="3sp"
android:layout_marginLeft="3sp"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textColor="@color/ui_blue_palette_text_gray_mid"
android:shadowColor="#000"
android:ellipsize="marquee"
android:singleLine="true"
android:scrollHorizontally="true"
/>
<ProgressBar android:id="@+id/rangebar_progress"
style="?android:attr/progressBarStyleHorizontal"
android:progressDrawable="@drawable/ui_progress_health"
android:layout_width="match_parent"
android:layout_height="@dimen/healthbar_height"
android:layout_toRightOf="@id/rangebar_label"
android:layout_centerVertical="true"
android:layout_marginRight="3sp"
/>
<TextView android:id="@+id/rangebar_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="35sp"
android:textSize="@dimen/statusbar_text"
android:layout_centerInParent="true"
android:textColor="@color/ui_blue_palette_text_gray_light"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:shadowColor="#222"
android:paddingBottom="2sp"
/>
</merge>