57e5501e1aaecb886c95cf64f0586aad719fb782
[fw/altos] / altosdroid / res / layout / device_list.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3
4  Copyright © 2016 Keith Packard <keithp@keithp.com>
5
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; version 2 of the License.
9
10  This program is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  General Public License for more details.
14
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
18
19 -->
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21     android:orientation="vertical"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     >
25     <Button android:id="@+id/button_scan"
26         android:layout_width="match_parent"
27         android:layout_height="wrap_content"
28         android:text="@string/button_scan"
29     />
30     <TextView android:id="@+id/title_new_devices"
31         android:layout_width="match_parent"
32         android:layout_height="wrap_content"
33         android:text="@string/title_other_devices"
34         android:visibility="gone"
35         android:background="#666"
36         android:textColor="#fff"
37         android:paddingLeft="5dp"
38     />
39     <ListView android:id="@+id/new_devices"
40         android:layout_width="match_parent"
41         android:layout_height="wrap_content"
42         android:layout_weight="1"
43         android:fadeScrollbars="false"
44         android:scrollbars="vertical"
45     />
46     <TextView android:id="@+id/title_paired_devices"
47         android:layout_width="match_parent"
48         android:layout_height="wrap_content"
49         android:text="@string/title_paired_devices"
50         android:visibility="gone"
51         android:background="#666"
52         android:textColor="#fff"
53         android:paddingLeft="5dp"
54     />
55     <ListView android:id="@+id/paired_devices"
56         android:layout_width="match_parent"
57         android:layout_height="wrap_content"
58         android:layout_weight="1"
59         android:fadeScrollbars="false"
60         android:scrollbars="vertical"
61     />
62 </LinearLayout>