142 lines
5.5 KiB
XML
142 lines
5.5 KiB
XML
<?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"
|
|
tools:context=".bt.LedControl">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:layout_editor_absoluteX="8dp"
|
|
tools:layout_editor_absoluteY="8dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/textView2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="progress"
|
|
android:textAlignment="center"
|
|
tools:layout_editor_absoluteX="8dp"
|
|
tools:layout_editor_absoluteY="30dp"
|
|
android:gravity="center_horizontal" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button2"
|
|
android:layout_margin="5dp"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/holo_blue_light"
|
|
android:text="Combo 1"
|
|
tools:layout_editor_absoluteX="148dp"
|
|
tools:layout_editor_absoluteY="88dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button3"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/holo_blue_light"
|
|
android:text="Combo 2"
|
|
tools:layout_editor_absoluteX="192dp"
|
|
tools:layout_editor_absoluteY="64dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button5"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/holo_blue_light"
|
|
android:text="Combo 3"
|
|
tools:layout_editor_absoluteX="61dp"
|
|
tools:layout_editor_absoluteY="134dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button6"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/holo_blue_light"
|
|
android:text="Combo 4"
|
|
tools:layout_editor_absoluteX="91dp"
|
|
tools:layout_editor_absoluteY="168dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button7"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/holo_blue_light"
|
|
android:text="Combo 5"
|
|
tools:layout_editor_absoluteX="112dp"
|
|
tools:layout_editor_absoluteY="336dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/button4"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/holo_red_light"
|
|
android:text="Disconnect Pairing"
|
|
tools:layout_editor_absoluteX="108dp"
|
|
tools:layout_editor_absoluteY="154dp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |