141 lines
5.5 KiB
XML
141 lines
5.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v4.widget.NestedScrollView 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">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<EditText
|
|
android:id="@+id/create_etTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginBottom="16dp"
|
|
android:hint="@string/create_etTitleHint"
|
|
android:lines="1" />
|
|
|
|
<EditText
|
|
android:id="@+id/create_etMessage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginBottom="16dp"
|
|
android:hint="@string/create_etMessageHint" />
|
|
|
|
<EditText
|
|
android:id="@+id/create_etId"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginBottom="32dp"
|
|
android:hint="@string/create_etNotificationIdHint"
|
|
android:inputType="number" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/create_IconHeader" />
|
|
|
|
<Spinner
|
|
android:id="@+id/create_spIcon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
tools:listitem="@android:layout/simple_spinner_item" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/create_CategoryHeader" />
|
|
|
|
<Spinner
|
|
android:id="@+id/create_spCategory"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
tools:listitem="@android:layout/simple_spinner_item" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="32dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<CheckBox
|
|
android:id="@+id/create_cbSound"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="@string/create_cbSound" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/create_cbVibrate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:checked="true"
|
|
android:text="@string/create_cbVibrate" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/create_cbBlink"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:checked="true"
|
|
android:text="@string/create_cbBlink" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/create_cbAutoCancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:checked="true"
|
|
android:text="@string/create_cbAutoCancel" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp">
|
|
|
|
<Button
|
|
android:id="@+id/create_btSchedule"
|
|
style="@style/Widget.AppCompat.Button"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/create_btSchedule" />
|
|
|
|
<Button
|
|
android:id="@+id/create_btDispatch"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/create_btDispatch" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</android.support.v4.widget.NestedScrollView> |