mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 10:31:03 +01:00
65 lines
2.7 KiB
XML
65 lines
2.7 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<androidx.cardview.widget.CardView
|
||
|
android:id="@+id/card_view"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="8dp"
|
||
|
android:foreground="?android:attr/selectableItemBackground"
|
||
|
card_view:cardCornerRadius="4dp"
|
||
|
card_view:cardElevation="4dp"
|
||
|
card_view:contentPadding="4dp">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="8dp">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/world_clock_item_timezone"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentStart="true"
|
||
|
android:layout_alignParentTop="true"
|
||
|
android:layout_marginStart="3dp"
|
||
|
android:layout_marginTop="4dp"
|
||
|
android:layout_marginEnd="0dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="Middle-earth/Gondor"
|
||
|
android:textAppearance="?android:attr/textAppearance" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/world_clock_item_label"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentStart="true"
|
||
|
android:layout_alignParentTop="true"
|
||
|
android:layout_marginStart="3dp"
|
||
|
android:layout_marginTop="25dp"
|
||
|
android:layout_marginEnd="0dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="?"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/world_clock_current_time"
|
||
|
android:layout_width="48dp"
|
||
|
android:layout_height="36dp"
|
||
|
android:layout_alignParentEnd="true"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:gravity="center"
|
||
|
android:layout_marginEnd="0dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:text="00:00"
|
||
|
card_view:tint="@color/secondarytext" />
|
||
|
|
||
|
</RelativeLayout>
|
||
|
</androidx.cardview.widget.CardView>
|
||
|
|
||
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|