mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-02 15:02:56 +01:00
215 lines
7.9 KiB
XML
215 lines
7.9 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"
|
|
android:layout_marginBottom="10dp">
|
|
|
|
<CheckBox
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/alarm_cb_smart_wakeup"/>
|
|
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_smart_wakeup"
|
|
android:id="@+id/alarm_label_smart_wakeup"
|
|
android:labelFor="@id/alarm_cb_smart_wakeup" />
|
|
</LinearLayout>
|
|
|
|
<TimePicker
|
|
android:id="@+id/alarm_time_picker"
|
|
android:timePickerMode="clock"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp" />
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false"
|
|
android:id="@+id/dowSelector">
|
|
|
|
<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_mon"
|
|
android:layout_gravity="center_horizontal"
|
|
android:gravity="center_horizontal|bottom"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_mon_short"
|
|
android:id="@+id/alarm_label_cb_mon"
|
|
android:layout_gravity="center_horizontal"
|
|
android:labelFor="@id/alarm_cb_mon"
|
|
android:gravity="center_horizontal|top"/>
|
|
|
|
</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"
|
|
android:gravity="center_horizontal|bottom" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_tue_short"
|
|
android:id="@+id/alarm_label_cb_tue"
|
|
android:layout_gravity="center_horizontal"
|
|
android:labelFor="@id/alarm_cb_tue"
|
|
android:gravity="center_horizontal|top" />
|
|
|
|
</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"
|
|
android:gravity="center_horizontal|bottom"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_wed_short"
|
|
android:id="@+id/alarm_label_cb_wed"
|
|
android:layout_gravity="center_horizontal"
|
|
android:labelFor="@id/alarm_cb_wed"
|
|
android:gravity="center_horizontal|top" />
|
|
|
|
</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"
|
|
android:gravity="center_horizontal|bottom" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_thu_short"
|
|
android:id="@+id/alarm_label_cb_thu"
|
|
android:layout_gravity="center_horizontal"
|
|
android:labelFor="@id/alarm_cb_thu"
|
|
android:gravity="center_horizontal|top" />
|
|
|
|
</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"
|
|
android:gravity="center_horizontal|bottom"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_fri_short"
|
|
android:id="@+id/alarm_label_cb_fri"
|
|
android:layout_gravity="center_horizontal"
|
|
android:labelFor="@id/alarm_cb_fri"
|
|
android:gravity="center_horizontal|top" />
|
|
|
|
</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"
|
|
android:gravity="center_horizontal|bottom"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_sat_short"
|
|
android:id="@+id/alarm_label_cb_sat"
|
|
android:layout_gravity="center_horizontal"
|
|
android:labelFor="@id/alarm_cb_sat"
|
|
android:gravity="center_horizontal|top" />
|
|
|
|
</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"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/alarm_sun_short"
|
|
android:id="@+id/alarm_label_cb_sun"
|
|
android:layout_gravity="center_horizontal"
|
|
android:labelFor="@id/alarm_cb_sun"
|
|
android:gravity="center_horizontal|top" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|