1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016 Keith Packard <keithp@keithp.com>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License along
17 with this program; if not, write to the Free Software Foundation, Inc.,
18 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:orientation="vertical"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
26 <Button android:id="@+id/button_scan"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:text="@string/button_scan"
31 <TextView android:id="@+id/title_new_devices"
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
34 android:text="@string/title_other_devices"
35 android:visibility="gone"
36 android:background="#666"
37 android:textColor="#fff"
38 android:paddingLeft="5dp"
40 <ListView android:id="@+id/new_devices"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 android:layout_weight="1"
44 android:fadeScrollbars="false"
45 android:scrollbars="vertical"
47 <TextView android:id="@+id/title_paired_devices"
48 android:layout_width="match_parent"
49 android:layout_height="wrap_content"
50 android:text="@string/title_paired_devices"
51 android:visibility="gone"
52 android:background="#666"
53 android:textColor="#fff"
54 android:paddingLeft="5dp"
56 <ListView android:id="@+id/paired_devices"
57 android:layout_width="match_parent"
58 android:layout_height="wrap_content"
59 android:layout_weight="1"
60 android:fadeScrollbars="false"
61 android:scrollbars="vertical"