1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-03 20:43:09 +02:00
Gadgetbridge/app/src/main/res/layout/activity_qhybrid_calibration.xml

96 lines
3.8 KiB
XML
Raw Normal View History

2020-10-22 12:43:40 +02:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
2020-10-22 12:43:40 +02:00
android:text="@string/qhybrid_calibration_align_hint" />
<Spinner
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_hand_spinner" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="2">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:gravity="center_horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/qhybrid_calibration_counterclockwise"/>
2020-10-22 12:43:40 +02:00
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_1"
android:text="@string/qhybrid_calibration_1_step" />
2020-10-22 12:43:40 +02:00
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_10"
android:text="@string/qhybrid_calibration_10_steps" />
2020-10-22 12:43:40 +02:00
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_100"
android:text="@string/qhybrid_calibration_100_steps" />
2020-10-22 12:43:40 +02:00
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:gravity="center_horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/qhybrid_calibration_clockwise"/>
2020-10-22 12:43:40 +02:00
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_1"
android:text="@string/qhybrid_calibration_1_step" />
2020-10-22 12:43:40 +02:00
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_10"
android:text="@string/qhybrid_calibration_10_steps" />
2020-10-22 12:43:40 +02:00
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_100"
android:text="@string/qhybrid_calibration_100_steps" />
2020-10-22 12:43:40 +02:00
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>