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

55 lines
2 KiB
XML
Raw Normal View History

2018-12-05 21:22:32 +01:00
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2018-12-05 21:22:32 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-12-21 23:17:20 +01:00
android:focusableInTouchMode="true"
android:minWidth="300dp"
android:orientation="vertical"
tools:context=".plugins.general.automation.dialogs.EditEventDialog">
2018-12-05 21:22:32 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-12-21 23:17:20 +01:00
android:orientation="vertical">
2018-12-05 21:22:32 +01:00
2019-12-21 23:17:20 +01:00
<RelativeLayout
2018-12-05 21:22:32 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-12-21 23:17:20 +01:00
android:layout_gravity="center"
android:background="@color/dialog_title_background"
android:orientation="horizontal"
android:padding="5dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/triggers"
android:src="@drawable/ic_trigger_green_48dp" />
<TextView
android:id="@+id/automation_actionTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_gravity="center"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:text="@string/triggers"
android:textAlignment="center"
android:textAppearance="?android:attr/textAppearanceLarge" />
</RelativeLayout>
2018-12-05 21:22:32 +01:00
<LinearLayout
android:id="@+id/automation_layoutTrigger"
android:layout_width="match_parent"
2019-12-21 23:17:20 +01:00
android:layout_height="wrap_content"
android:padding="10dp"
android:orientation="vertical" />
2018-12-05 21:22:32 +01:00
2019-07-23 00:04:44 +02:00
<include layout="@layout/okcancel" />
2018-12-05 21:22:32 +01:00
</LinearLayout>
2018-12-05 21:22:32 +01:00
</ScrollView>