2015-06-25 12:42:47 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-06-24 20:14:08 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
2015-06-25 12:42:47 +02:00
|
|
|
android:orientation="vertical"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.AlarmDetails">
|
|
|
|
|
|
|
|
|
2015-06-25 12:42:47 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2015-06-24 20:14:08 +02:00
|
|
|
|
2015-06-25 12:42:47 +02:00
|
|
|
<TimePicker
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_time_picker"
|
|
|
|
android:layout_alignParentTop="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:timePickerMode="clock"
|
|
|
|
android:layout_weight="1" />
|
2015-06-25 12:42:47 +02:00
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/alarm_smart_wakeup"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_smart_wakeup"
|
|
|
|
android:checked="false"
|
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:layout_weight="1" />
|
2015-06-25 12:42:47 +02:00
|
|
|
</LinearLayout>
|
2015-06-24 20:14:08 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:id="@+id/dowSelector">
|
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:text="@string/alarm_mon_short"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_mon"
|
|
|
|
android:checked="false"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
|
|
|
android:gravity="center_horizontal" />
|
2015-06-24 20:14:08 +02:00
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:text="@string/alarm_tue_short"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_tue"
|
|
|
|
android:checked="false"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
|
|
|
android:gravity="center_horizontal" />
|
2015-06-24 20:14:08 +02:00
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:text="@string/alarm_wed_short"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_wed"
|
|
|
|
android:checked="false"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
|
|
|
android:gravity="center_horizontal" />
|
2015-06-24 20:14:08 +02:00
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:text="@string/alarm_thu_short"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_thu"
|
|
|
|
android:checked="false"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
|
|
|
android:gravity="center_horizontal" />
|
2015-06-24 20:14:08 +02:00
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:text="@string/alarm_fri_short"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_fri"
|
|
|
|
android:checked="false"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
|
|
|
android:gravity="center_horizontal" />
|
2015-06-24 20:14:08 +02:00
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:text="@string/alarm_sat_short"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_sat"
|
|
|
|
android:checked="false"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
|
|
|
android:gravity="center_horizontal" />
|
2015-06-24 20:14:08 +02:00
|
|
|
|
|
|
|
<CheckedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:text="@string/alarm_sun_short"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/alarm_ctv_sun"
|
|
|
|
android:checked="false"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:drawableTop="@drawable/abc_btn_check_material"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="true"
|
|
|
|
android:gravity="center_horizontal" />
|
2015-06-24 20:14:08 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
2015-06-25 12:42:47 +02:00
|
|
|
</LinearLayout>
|