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

44 lines
1.6 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
2019-07-22 21:41:42 +02:00
android:id="@+id/automation_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
2019-07-22 21:41:42 +02:00
android:id="@+id/automation_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"
2019-07-22 21:41:42 +02:00
android:layout_toStartOf="@id/automation_iconTrash"
android:layout_alignParentStart="true">
2019-03-26 23:28:46 +01:00
<TextView
2019-07-22 21:41:42 +02:00
android:id="@+id/automation_viewActionTitle"
2019-03-26 23:28:46 +01:00
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" />
</LinearLayout>
</RelativeLayout>