update GUI

This commit is contained in:
Zhengyu Peng
2022-02-22 22:05:36 -05:00
parent 624edf5a6d
commit 5e3c2f44b0
4 changed files with 29 additions and 1 deletions

View File

@ -30,7 +30,7 @@
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:attr/listDivider" />
android:background="@color/grey_200" />
<ListView
android:id="@+id/paired_devices"
@ -39,4 +39,24 @@
android:stackFromBottom="false"
/>
<View
android:id="@+id/divider1"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/grey_200" />
<TextView
android:id="@+id/cancel_picker"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="24dp"
android:textAppearance="?attr/textAppearanceButton"
android:gravity="center_horizontal"
android:clickable="true"
android:focusable="true"
android:background="?attr/selectableItemBackground"
android:text="Cancel"
android:visibility="visible"
/>
</LinearLayout>

View File

@ -100,6 +100,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:digits="0123456789."
android:backgroundTint="@color/grey_100"
android:hint="IP"
android:inputType="number|numberDecimal"
android:text="192.168.1.127" />
@ -123,6 +124,7 @@
android:id="@+id/port_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgroundTint="@color/grey_100"
android:hint="Port"
android:inputType="number"
android:text="1234" />