You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TermApp/mpmaster/src/main/res/layout/activity_main.xml

51 lines
1.8 KiB
XML

2 years ago
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
android:visibility="gone"
2 years ago
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/btnEnableCam3V3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cam3V3 On"
tools:layout_editor_absoluteX="47dp"
tools:layout_editor_absoluteY="137dp" />
<Button
android:id="@+id/btnDisableCam3V3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cam3V3 Off"
tools:layout_editor_absoluteX="201dp"
tools:layout_editor_absoluteY="130dp" />
<Button
android:id="@+id/btnTurnOtgOn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="OTG On"
tools:layout_editor_absoluteX="51dp"
tools:layout_editor_absoluteY="246dp" />
<Button
android:id="@+id/btnTurnOtgOff"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="OTG Off"
tools:layout_editor_absoluteX="201dp"
tools:layout_editor_absoluteY="242dp" />
2 years ago
</androidx.constraintlayout.widget.ConstraintLayout>