1
<?xml version="1.0" encoding="utf-8"?>
3
Copyright (C) 2013 Tobias Brunner
4
Hochschule fuer Technik Rapperswil
6
This program is free software; you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by the
8
Free Software Foundation; either version 2 of the License, or (at your
9
option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11
This program is distributed in the hope that it will be useful, but
12
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17
android:layout_width="match_parent"
18
android:layout_height="match_parent"
19
android:paddingBottom="2dp"
20
android:background="@drawable/state_background"
21
android:orientation="vertical" >
24
android:id="@+id/imc_state_button"
25
android:layout_width="match_parent"
26
android:layout_height="wrap_content"
27
android:background="?android:attr/selectableItemBackground"
28
android:orientation="vertical" >
31
android:layout_width="match_parent"
32
android:layout_height="wrap_content"
33
android:layout_marginLeft="20dp"
34
android:layout_marginRight="20dp"
35
android:layout_marginTop="10dp"
36
android:orientation="horizontal" >
39
android:layout_width="wrap_content"
40
android:layout_height="wrap_content"
41
android:layout_marginRight="5dp"
42
android:text="@string/imc_state_label"
43
android:textColor="?android:textColorPrimary"
44
android:textSize="20sp" />
47
android:id="@+id/imc_state"
48
android:layout_width="wrap_content"
49
android:layout_height="wrap_content"
51
android:textColor="?android:textColorSecondary"
52
android:textSize="20sp" />
57
android:id="@+id/action"
58
android:layout_width="match_parent"
59
android:layout_height="wrap_content"
60
android:layout_marginBottom="10dp"
61
android:layout_marginLeft="20dp"
62
android:layout_marginRight="20dp"
63
android:text="@string/show_remediation_instructions"
64
android:textAppearance="?android:attr/textAppearanceSmall"
65
android:textColor="?android:attr/textColorSecondary" />