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"
27 <ListView android:id="@+id/igniters"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:layout_weight="1"
31 android:fadeScrollbars="false"
32 android:scrollbars="vertical"
33 android:choiceMode="singleChoice"
36 <ToggleButton android:id="@+id/igniter_arm"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:textOn="@string/igniter_armed"
40 android:textOff="@string/igniter_arm"
43 <Button android:id="@+id/igniter_fire"
44 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
46 android:text="@string/igniter_fire"