mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-12 10:01:54 +01:00
250 lines
9.8 KiB
XML
250 lines
9.8 KiB
XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
|
android:orientation="vertical"
|
|
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">
|
|
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TimePicker
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/alarm_time_picker"
|
|
android:timePickerMode="clock"
|
|
android:layout_weight="1" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
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>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/dowSelector">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
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_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
|
|
android:orientation="vertical"
|
|
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_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
|
|
android:orientation="vertical"
|
|
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_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
|
|
android:orientation="vertical"
|
|
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_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
|
|
android:orientation="vertical"
|
|
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_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
|
|
android:orientation="vertical"
|
|
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_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
|
|
android:orientation="vertical"
|
|
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>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|