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

53 lines
2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2019-03-26 23:28:46 +01:00
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
2019-03-26 23:28:46 +01:00
android:layout_width="match_parent"
android:background="@color/ribbonDefault"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingLeft="4dp"
android:paddingRight="4dp"
2019-03-26 23:28:46 +01:00
android:layout_marginTop="8dp">
2019-03-26 23:28:46 +01:00
<ImageView
android:id="@+id/iconTrash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-03-26 23:28:46 +01:00
app:srcCompat="@drawable/ic_trash_outline"
android:layout_alignParentEnd="true"
2019-03-26 23:28:46 +01:00
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:contentDescription="@string/overview_quickwizard_item_remove_button" />
2019-03-26 23:28:46 +01:00
<LinearLayout
android:id="@+id/layoutText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-03-26 23:28:46 +01:00
android:orientation="vertical"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:layout_toStartOf="@id/iconTrash"
android:layout_alignParentStart="true">
2019-03-26 23:28:46 +01:00
<TextView
android:id="@+id/viewActionTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/viewActionDescription"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:visibility="gone"/>
</LinearLayout>
</RelativeLayout>