mirror of https://github.com/rusefi/rusefi.git
100 lines
3.4 KiB
XML
100 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/myCoordinatorLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:id="@+id/text_status"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:textAppearanceMedium" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonDfu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:onClick="sendMessage"
|
|
android:text="DFU" />
|
|
|
|
<EditText
|
|
android:id="@+id/authToken"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10"
|
|
android:inputType="text"
|
|
android:text="Auth Token" />
|
|
|
|
<TextView
|
|
android:id="@+id/authStatus1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Please paste your auth token" />
|
|
|
|
<TextView
|
|
android:id="@+id/authStatus2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="TextView" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonSound"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:onClick="sendMessage"
|
|
android:text="Sound" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonConnect"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:onClick="onConnectButton"
|
|
android:text="Connect" />
|
|
|
|
<Button
|
|
android:id="@+id/localBroadcast"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:onClick="onLocalBroadcast"
|
|
android:text="local" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonBroadcast"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:onClick="sendMessage"
|
|
android:text="Broadcast" />
|
|
|
|
<TextView
|
|
android:id="@+id/broadcastStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Hello rusEFI" />
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView
|
|
android:id="@+id/text_result"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</ScrollView>
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Button" />
|
|
|
|
</LinearLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |