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

54 lines
2 KiB
XML
Raw Normal View History

2018-10-16 00:07:13 +02:00
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2018-10-16 00:07:13 +02: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-10-16 00:07:13 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-12-21 23:17:20 +01:00
android:orientation="vertical">
2018-10-16 00:07:13 +02:00
2019-12-21 23:17:20 +01:00
<RelativeLayout
2018-10-16 00:07:13 +02: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/please_choose_a_trigger_type"
android:src="@drawable/ic_trigger_green_48dp" />
<TextView
android:id="@+id/actions_care_title"
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/please_choose_a_trigger_type"
android:textAlignment="center"
android:textAppearance="?android:attr/textAppearanceLarge" />
</RelativeLayout>
2018-10-16 00:07:13 +02:00
<RadioGroup
2019-07-22 16:28:53 +02:00
android:id="@+id/automation_chooseTriggerRadioGroup"
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-12-21 23:17:20 +01:00
android:padding="10dp"/>
2018-10-16 00:07:13 +02:00
2019-07-23 00:04:44 +02:00
<include layout="@layout/okcancel" />
2018-10-16 00:07:13 +02:00
</LinearLayout>
2018-10-16 00:07:13 +02:00
</ScrollView>