2015-06-25 12:42:47 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-04-03 21:09:35 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-01-13 16:38:44 +01:00
|
|
|
android:isScrollContainer="true"
|
2015-06-25 12:42:47 +02:00
|
|
|
android:orientation="vertical"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.AlarmDetails">
|
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_smart_wakeup"
|
|
|
|
android:layout_width="wrap_content"
|
2016-02-21 17:21:04 +01:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:drawableStart="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_smart_wakeup"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-24 20:14:08 +02:00
|
|
|
|
2016-02-21 17:21:04 +01:00
|
|
|
<TimePicker
|
|
|
|
android:id="@+id/alarm_time_picker"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_marginBottom="20dp" />
|
2016-02-21 17:21:04 +01:00
|
|
|
|
2015-06-24 20:14:08 +02:00
|
|
|
<LinearLayout
|
2017-04-03 21:09:35 +02:00
|
|
|
android:id="@+id/dowSelector"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_width="fill_parent"
|
2016-02-21 17:21:04 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:baselineAligned="false"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:orientation="horizontal">
|
2015-06-24 20:14:08 +02:00
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_monday"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawableTop="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_mon_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-27 18:32:13 +02:00
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_tuesday"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:layout_weight="1"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:drawableTop="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_tue_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-27 18:32:13 +02:00
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_wednesday"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:layout_weight="1"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:drawableTop="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_wed_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-27 18:32:13 +02:00
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_thursday"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:layout_weight="1"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:drawableTop="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_thu_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-27 18:32:13 +02:00
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_friday"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:layout_weight="1"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:drawableTop="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_fri_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-27 18:32:13 +02:00
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_saturday"
|
2015-06-24 20:14:08 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:layout_weight="1"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:drawableTop="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_sat_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-27 18:32:13 +02:00
|
|
|
|
2017-04-09 16:01:48 +02:00
|
|
|
<android.support.v7.widget.AppCompatCheckedTextView
|
|
|
|
android:id="@+id/alarm_cb_sunday"
|
2015-06-27 18:32:13 +02:00
|
|
|
android:layout_width="wrap_content"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
2017-04-03 21:09:35 +02:00
|
|
|
android:layout_weight="1"
|
2017-04-09 16:01:48 +02:00
|
|
|
android:drawableTop="?android:attr/listChoiceIndicatorMultiple"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/alarm_sun_short"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2015-06-27 18:32:13 +02:00
|
|
|
|
2015-06-24 20:14:08 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2015-06-25 12:42:47 +02:00
|
|
|
</LinearLayout>
|