HC05AC-CTRL/src/main/res/layout/activity_main.xml

33 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
tools:context=".InputActivity"
app:divider="@drawable/divider"
app:showDividers="middle">
<TextView
android:text="@string/zero"
android:id="@+id/left"
android:gravity="center"
android:textAlignment="gravity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
android:background="?attr/colorPrimary" />
<TextView
android:text="@string/zero"
android:id="@+id/right"
android:gravity="center"
android:textAlignment="gravity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
android:background="?attr/colorSecondary" />
</androidx.appcompat.widget.LinearLayoutCompat>