f98d40f71b
- Add MainApp.dpToPx() helper function - Remove trigger layout resources - Generate trigger layout programmatically - Improve ux (when composing trigger logic) - Refactoring
37 lines
1.3 KiB
XML
37 lines
1.3 KiB
XML
<?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">
|
|
|
|
<ScrollView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<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"
|
|
android:hint="Event Name" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutTrigger"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" />
|
|
|
|
<include layout="@layout/mdtp_done_button" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</FrameLayout> |