2018-09-25 00:00:09 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context="info.nightscout.androidaps.plugins.general.automation.dialogs.EditEventDialog">
|
|
|
|
|
2018-10-15 23:20:06 +02:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2018-09-25 00:00:09 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
|
|
android:id="@+id/inputEventTitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-21 00:38:06 +01:00
|
|
|
android:hint="Task Name" />
|
2018-09-25 00:00:09 +02:00
|
|
|
|
2018-10-29 21:24:30 +01:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
2018-12-05 21:22:32 +01:00
|
|
|
<RelativeLayout
|
2018-10-29 21:24:30 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-12-05 21:22:32 +01:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="if:"/>
|
2018-10-29 21:24:30 +01:00
|
|
|
|
2018-12-05 21:22:32 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/editTrigger"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentTop="true"
|
2019-03-19 19:08:46 +01:00
|
|
|
android:padding="8dp"
|
|
|
|
android:background="@color/ribbonDefault"
|
2018-12-05 21:22:32 +01:00
|
|
|
android:text="Edit" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/triggerDescription"
|
2018-09-25 00:00:09 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-12-05 21:22:32 +01:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
2018-09-25 00:00:09 +02:00
|
|
|
android:orientation="vertical" />
|
|
|
|
|
2018-10-29 21:24:30 +01:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/listdelimiter" />
|
|
|
|
|
2019-03-19 19:08:46 +01:00
|
|
|
<RelativeLayout
|
2018-10-29 21:24:30 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-03-19 19:08:46 +01:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="then:"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/editAction"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:background="@color/ribbonDefault"
|
|
|
|
android:text="Add" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/actionListView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="10dp"/>
|
2018-10-29 21:24:30 +01:00
|
|
|
|
2018-09-25 00:00:09 +02:00
|
|
|
<include layout="@layout/mdtp_done_button" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-10-15 23:20:06 +02:00
|
|
|
</ScrollView>
|
|
|
|
|
2018-09-25 00:00:09 +02:00
|
|
|
</FrameLayout>
|