Gadgetbridge/app/src/main/res/layout/activity_supercars_control.xml

65 lines
2.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
tools:ignore="MissingConstraints">
<TextView
android:id="@+id/battery_percentage_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:foregroundGravity="center_horizontal"
android:gravity="center_horizontal"
android:text=""
android:textSize="48sp" />
<nodomain.freeyourgadget.gadgetbridge.devices.supercars.JoystickView
android:id="@+id/joystickLeft"
android:layout_width="wrap_content"
android:layout_height="300dp"
android:layout_weight="1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<CheckBox
android:id="@+id/turboMode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:height="48dp"
android:text="@string/supercars_turbo_speed_label"
tools:ignore="TouchTargetSizeCheck" />
<CheckBox
android:id="@+id/lightsOn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:height="48dp"
android:text="@string/supercars_lights_label"
tools:ignore="TouchTargetSizeCheck" />
<CheckBox
android:id="@+id/lightsBlinking"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:height="48dp"
android:text="@string/supercars_lights_blinking_label"
tools:ignore="TouchTargetSizeCheck" />
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>