altosdroid: Change layout of idle mode dialog a bit
[fw/altos] / altosdroid / app / src / main / res / layout / idle_mode.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; either version 2 of the License, or
9  (at your option) any later version.
10
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.
15
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.
19
20 -->
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"
25     >
26     <LinearLayout
27         android:orientation="horizontal"
28         android:layout_width="match_parent"
29         android:layout_height="wrap_content"
30         >
31         <TextView android:id="@+id/set_callsign_label"
32                   android:layout_width="wrap_content"
33                   android:layout_height="wrap_content"
34                   android:text="@string/set_callsign_label"
35                   />
36         <EditText android:id="@+id/set_callsign"
37                   android:layout_width="wrap_content"
38                   android:layout_height="wrap_content"
39                   android:layout_weight="1"
40                   android:hint="@string/set_callsign_label"/>
41     </LinearLayout>
42       <TextView android:id="@+id/frequency"
43                 android:layout_width="fill_parent"
44                 android:layout_height="wrap_content"
45                 android:text=""
46                 />
47       <Button android:id="@+id/connect_idle"
48               android:layout_width="match_parent"
49               android:layout_height="wrap_content"
50               android:text="@string/connect_idle"
51               />
52       <Button android:id="@+id/disconnect_idle"
53               android:layout_width="match_parent"
54               android:layout_height="wrap_content"
55               android:text="@string/disconnect_idle"
56               />
57       <Button android:id="@+id/reboot_idle"
58               android:layout_width="match_parent"
59               android:layout_height="wrap_content"
60               android:text="@string/reboot_idle"
61               />
62       <Button android:id="@+id/igniters_idle"
63               android:layout_width="match_parent"
64               android:layout_height="wrap_content"
65               android:text="@string/igniters_idle"
66               />
67 </LinearLayout>