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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:rotaryControl="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
 
    <TextView
        android:id="@+id/withings_calibration_textview"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:padding="30dp"
        android:text="@string/withings_calibration_text_hours"
        android:textAppearance="?android:attr/textAppearanceLarge" />
 
    <nodomain.freeyourgadget.gadgetbridge.devices.withingssteelhr.RotaryControl
        android:id="@+id/rotary_control"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="30dp"
        rotaryControl:controlpoint_color="@color/accent"
        rotaryControl:controlpoint_size="20dp"
        rotaryControl:line_color="@color/design_default_color_on_secondary"
        rotaryControl:line_thickness="10dp" />
 
    <Button
        android:id="@+id/withings_calibration_button_previous"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_alignParentBottom="true"
        android:layout_marginBottom="30dp"
        android:layout_marginStart="50dp"
        android:padding="16dp"
        android:text="@string/withings_bt_calibration_previous" />
 
    <Button
        android:id="@+id/withings_calibration_button_next"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentEnd="true"
        android:layout_marginBottom="30dp"
        android:layout_marginEnd="50dp"
        android:padding="16dp"
        android:text="@string/withings_bt_calibration_next" />
 
    <Button
        android:id="@+id/withings_calibration_button_ok"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="30dp"
        android:padding="16dp"
        android:text="@string/ok" />
 
</RelativeLayout>