Gadgetbridge/app/src/main/res/layout/activity_qhybrid_calibration.xml
2020-10-22 12:43:40 +02:00

95 lines
3.5 KiB
XML

<?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: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="counter-dlockwise"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_1"
android:text="1" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_10"
android:text="10" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_counter_clockwise_100"
android:text="100" />
</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="clockwise"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_1"
android:text="1" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_10"
android:text="10" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/qhybrid_calibration_clockwise_100"
android:text="100" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>