wangzhibo
4 天以前 ae6f40460dcd56af6c5f60ba52c883854c3bac55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center"
    android:orientation="vertical">
 
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:orientation="horizontal">
 
        <Button
            android:id="@+id/idasen_control_button_sit"
            android:layout_width="wrap_content"
            android:layout_height="100dp"
            android:layout_weight="0.5"
            android:text="@string/idasen_control_button_sit"
            app:icon="@drawable/ic_activity_yoga"
            app:iconPadding="0dp"
            app:iconSize="35dp"
            app:iconTint="#FFFFFF" />
 
        <Button
            android:id="@+id/idasen_control_button_mid"
            android:layout_width="wrap_content"
            android:layout_height="100dp"
            android:layout_weight="0.5"
            android:text="@string/idasen_control_button_mid"
            app:icon="@drawable/ic_activity_bike_trainer"
            app:iconSize="35dp" />
 
        <Button
            android:id="@+id/idasen_control_button_stand"
            android:layout_width="wrap_content"
            android:layout_height="100dp"
            android:layout_weight="0.5"
            android:text="@string/idasen_control_button_stand"
            app:icon="@drawable/ic_activity_exercise"
            app:iconSize="35dp"
            app:iconTint="#FFFFFF" />
 
    </LinearLayout>
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:orientation="vertical">
 
        <Button
            android:id="@+id/idasen_control_button_up"
            android:layout_width="wrap_content"
            android:layout_height="100dp"
            android:layout_weight="0.5"
            android:background="@drawable/ic_arrow_upward" />
 
        <Button
            android:id="@+id/idasen_control_button_down"
            android:layout_width="wrap_content"
            android:layout_height="100dp"
            android:layout_weight="0.5"
            android:background="@drawable/ic_arrow_upward"
            android:drawable="@drawable/ic_arrow_upward"
            android:rotation="180" />
 
    </LinearLayout>
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center"
        android:orientation="horizontal">
 
        <ImageView
            android:id="@+id/idasen_desk_height_icon"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:layout_gravity="start|center_vertical"
            android:background="@drawable/arrow_autofit_height"
            android:backgroundTint="#FF0000"
            android:contentDescription="@string/icon_placeholder"
            android:padding="0dp" />
 
        <TextView
            android:id="@+id/idasen_desk_height"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            android:textIsSelectable="true"
            android:textAlignment="center"
            android:textColor="#FFFFFF"
            android:textSize="24sp" />
 
        <ImageView
            android:id="@+id/idasen_desk_speed_icon"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:layout_gravity="start|center_vertical"
            android:background="@drawable/brand_speedtest"
            android:backgroundTint="#FF0000"
            android:contentDescription="@string/icon_placeholder"
            android:padding="0dp" />
 
        <TextView
            android:id="@+id/idasen_desk_speed"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            android:textAlignment="center"
            android:textColor="#FFFFFF"
            android:textSize="24sp"
            android:textIsSelectable="true"
            android:visibility="visible" />
 
    </LinearLayout>
 
 
</LinearLayout>