AndroidAPS/app/src/main/res/layout/bgsource_item.xml

77 lines
2.8 KiB
XML
Raw Normal View History

2017-12-15 01:03:31 +01:00
<?xml version="1.0" encoding="utf-8"?>
2019-05-16 13:57:37 +02:00
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
2017-12-15 01:03:31 +01:00
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
card_view:cardBackgroundColor="@color/cardColorBackground"
card_view:cardCornerRadius="6dp"
card_view:cardUseCompatPadding="true"
card_view:contentPadding="6dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
2021-02-03 15:43:47 +01:00
android:id="@+id/date"
2017-12-15 01:03:31 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="16:55"
android:textStyle="bold" />
<TextView
2021-02-03 15:43:47 +01:00
android:id="@+id/value"
2017-12-15 01:03:31 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:text="Name"
android:textStyle="bold" />
2020-08-09 10:59:56 +02:00
<ImageView
2021-02-03 15:43:47 +01:00
android:id="@+id/direction"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
2020-10-19 19:24:33 +02:00
card_view:srcCompat="@drawable/ic_flat" />
2017-12-15 01:03:31 +01:00
<TextView
2021-02-03 15:43:47 +01:00
android:id="@+id/ns"
2017-12-15 01:03:31 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:text="NS"
android:textAlignment="viewEnd"
android:textColor="@color/colorSetTempButton" />
<TextView
2021-02-03 15:43:47 +01:00
android:id="@+id/invalid"
2017-12-15 01:03:31 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:text="@string/invalid"
android:textColor="@android:color/holo_red_light" />
<TextView
2021-02-03 15:43:47 +01:00
android:id="@+id/remove"
2017-12-15 01:03:31 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingEnd="5dp"
android:paddingStart="10dp"
android:text="@string/overview_quickwizard_item_remove_button"
android:textAlignment="viewEnd"
android:textColor="@android:color/holo_orange_light" />
</LinearLayout>
</LinearLayout>
2019-05-16 13:57:37 +02:00
</androidx.cardview.widget.CardView>