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"
|
2015-06-26 17:22:42 +02:00
|
|
|
android:timePickerMode="clock"
|
|
|
|
android:layout_weight="1" />
|
2015-06-25 12:42:47 +02:00
|
|
|
|
2015-06-27 18:32:13 +02:00
|
|
|
<LinearLayout
|
2015-06-25 12:42:47 +02:00
|
|
|
android:orientation="vertical"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_smart_wakeup"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_smart_wakeup"
|
|
|
|
android:id="@+id/alarm_label_smart_wakeup"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_smart_wakeup"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
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">
|
|
|
|
|
2015-06-27 18:32:13 +02:00
|
|
|
<LinearLayout
|
2015-06-24 20:14:08 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_mon"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_mon_short"
|
|
|
|
android:id="@+id/alarm_label_cb_mon"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_mon"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-06-24 20:14:08 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_tue"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_tue_short"
|
|
|
|
android:id="@+id/alarm_label_cb_tue"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_tue"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-06-24 20:14:08 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_wed"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_wed_short"
|
|
|
|
android:id="@+id/alarm_label_cb_wed"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_wed"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-06-24 20:14:08 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_thu"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_thu_short"
|
|
|
|
android:id="@+id/alarm_label_cb_thu"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_thu"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-06-24 20:14:08 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_fri"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_fri_short"
|
|
|
|
android:id="@+id/alarm_label_cb_fri"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_fri"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-06-24 20:14:08 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_sat"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_sat_short"
|
|
|
|
android:id="@+id/alarm_label_cb_sat"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_sat"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-06-24 20:14:08 +02:00
|
|
|
android:orientation="vertical"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/alarm_cb_sun"
|
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
|
|
android:gravity="center_horizontal|bottom"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:text="@string/alarm_sun_short"
|
|
|
|
android:id="@+id/alarm_label_cb_sun"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
|
|
|
android:labelFor="@id/alarm_cb_sun"
|
|
|
|
android:gravity="center_horizontal|top"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
2015-06-24 20:14:08 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
2015-06-25 12:42:47 +02:00
|
|
|
</LinearLayout>
|