Created
December 24, 2019 10:27
-
-
Save sidishere/5e201a0342698e23bb21fbd022116d87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/title_paired_devices" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="#666" | |
android:paddingLeft="5dp" | |
android:text="Paired devices" | |
android:textColor="#fff" | |
android:visibility="gone" | |
/> | |
<ListView | |
android:id="@+id/paired_devices" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="1" | |
android:stackFromBottom="true" | |
/> | |
<TextView | |
android:id="@+id/title_new_devices" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="#666" | |
android:paddingLeft="5dp" | |
android:text="Other devices" | |
android:textColor="#fff" | |
android:visibility="gone" | |
/> | |
<ListView | |
android:id="@+id/new_devices" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:stackFromBottom="true" | |
/> | |
<Button | |
android:id="@+id/button_scan" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="SCAN" | |
/> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment