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

52 lines
1.9 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_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"/>
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_toLeftOf="@id/iconTrash"
android:layout_alignParentLeft="true">
<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>