activity_device.xml 1.7 KB
Newer Older
C
cmj 已提交
1
<?xml version="1.0" encoding="utf-8"?>
B
Blankj 已提交
2 3 4
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
B
Blankj 已提交
5

C
cmj 已提交
6 7 8 9 10
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_horizontal"
        android:orientation="vertical"
B
Blankj 已提交
11
        android:padding="@dimen/spacing_16">
C
cmj 已提交
12

B
Blankj 已提交
13 14
        <TextView
            android:id="@+id/tv_about_device"
B
Blankj 已提交
15
            style="@style/TextStyle"
B
Blankj 已提交
16 17
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
B
Blankj 已提交
18
            android:gravity="center"/>
C
cmj 已提交
19 20 21

        <Button
            android:id="@+id/btn_shutdown"
B
Blankj 已提交
22
            style="@style/WideBtnStyle"
C
cmj 已提交
23 24
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
B
Blankj 已提交
25
            android:text="@string/device_shutdown"/>
C
cmj 已提交
26 27 28

        <Button
            android:id="@+id/btn_reboot"
B
Blankj 已提交
29
            style="@style/WideBtnStyle"
C
cmj 已提交
30 31
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
B
Blankj 已提交
32
            android:text="@string/device_reboot"/>
C
cmj 已提交
33

B
Blankj 已提交
34 35
        <Button
            android:id="@+id/btn_reboot_to_recovery"
B
Blankj 已提交
36
            style="@style/WideBtnStyle"
B
Blankj 已提交
37 38
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
B
Blankj 已提交
39
            android:text="@string/device_reboot_to_recovery"/>
B
Blankj 已提交
40 41 42

        <Button
            android:id="@+id/btn_reboot_to_bootloader"
B
Blankj 已提交
43
            style="@style/WideBtnStyle"
B
Blankj 已提交
44 45
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
B
Blankj 已提交
46
            android:text="@string/device_reboot_to_bootloader"/>
B
Blankj 已提交
47

C
cmj 已提交
48 49
    </LinearLayout>
</ScrollView>