<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical" >
|
|
|
<include
|
layout="@layout/actionbar_custom" />
|
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="10dp"
|
android:layout_marginLeft="50dp"
|
android:orientation="vertical" >
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:gravity="center_vertical" >
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal" >
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="10dp"
|
android:text="@string/AlarmReboot" />
|
<TextView
|
android:id="@+id/tv_reboot_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="5dp"
|
android:text="@string/empty"
|
android:textColor="@color/black" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:layout_marginLeft="30dp" >
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="10dp"
|
android:text="@string/alarm_poweron" />
|
<TextView
|
android:id="@+id/tv_poweron"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="5dp"
|
android:text="@string/empty"
|
android:textColor="@color/black" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/alarm_shutdown"
|
android:layout_marginLeft="30dp" />
|
<TextView
|
android:id="@+id/tv_shutdown"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="5dp"
|
android:text="@string/empty"
|
android:textColor="@color/black" />
|
|
<CheckBox
|
android:id="@+id/checkBox_alarm_power_repeat"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="30dp"
|
android:text="@string/repeat" />
|
</LinearLayout>
|
</LinearLayout>
|
|
|
|
|
|
<TimePicker
|
android:id="@+id/mTimePicker"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
android:timePickerMode="spinner" />
|
|
|
|
|
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:orientation="horizontal" >
|
<Button
|
android:id="@+id/bn_reboot_now"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/reboot_now" />
|
<Button
|
android:id="@+id/bn_shutdown_now"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/shutdown_now" />
|
<Button
|
android:id="@+id/bn_reboot_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/AlarmReboot_bn" />
|
<Button
|
android:id="@+id/bn_alarm_poweron"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/alarm_poweron_bn" />
|
<Button
|
android:id="@+id/bn_alarm_shutdown"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/alarm_shutdown_bn" />
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:orientation="horizontal" >
|
|
<Button
|
android:id="@+id/bn_cancel_input"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/cancel_input" />
|
|
<Button
|
android:id="@+id/bn_watch_dog_stop"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/watch_dog_stop" />
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|