mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-10 16:26:46 +02:00
47 lines
1.7 KiB
XML
47 lines
1.7 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:id="@+id/line_layout_distance"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center|top"
|
||
|
android:layout_marginStart="1dp"
|
||
|
android:layout_marginEnd="1dp"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="center|top"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/line_layout_distance_icon"
|
||
|
android:layout_width="19dp"
|
||
|
android:layout_height="19dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:contentDescription="@string/candidate_item_device_image"
|
||
|
app:srcCompat="@drawable/ic_distance" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/line_layout_distance_title"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center"
|
||
|
android:maxLines="2"
|
||
|
android:scrollHorizontally="false"
|
||
|
android:text="@string/distance"
|
||
|
android:textAllCaps="true"
|
||
|
android:textColor="@color/accent"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/line_layout_distance_label"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:fontFamily="sans-serif-black"
|
||
|
android:gravity="center"
|
||
|
android:maxLines="1"
|
||
|
android:scrollHorizontally="false"
|
||
|
android:text="15.1km"
|
||
|
android:textSize="24sp" />
|
||
|
|
||
|
</LinearLayout>
|