1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:id="@+id/topLayout"
4 android:orientation="vertical"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent">
9 android:id="@+id/title"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content" />
14 android:id="@+id/graphLayout"
15 android:orientation="vertical"
16 android:layout_width="match_parent"
17 android:layout_height="match_parent" >
20 android:id="@+id/typeSpinner"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:entries="@array/battery_history_type_spinner" />
26 android:id="@+id/whichSpinner"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:entries="@array/battery_history_which_spinner" />
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content" >
36 android:orientation="vertical"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content" >
41 android:id="@+id/messageText"
42 android:layout_width="match_parent"
43 android:layout_height="wrap_content"
44 android:gravity="center_horizontal"
45 android:textSize="17dp"
46 android:visibility="gone" />
48 <com.android.settings.battery_history.GraphableButton
49 android:id="@+id/button0"
50 android:layout_width="match_parent"
51 android:layout_height="0dp"
52 android:layout_marginLeft="4dp"
53 android:layout_marginRight="4dp"
54 android:layout_marginBottom="4dp"
55 android:layout_weight="1" />
57 <com.android.settings.battery_history.GraphableButton
58 android:id="@+id/button1"
59 android:layout_width="match_parent"
60 android:layout_height="0dp"
61 android:layout_marginLeft="4dp"
62 android:layout_marginRight="4dp"
63 android:layout_marginBottom="4dp"
64 android:layout_weight="1" />
66 <com.android.settings.battery_history.GraphableButton
67 android:id="@+id/button2"
68 android:layout_width="match_parent"
69 android:layout_height="0dp"
70 android:layout_marginLeft="4dp"
71 android:layout_marginRight="4dp"
72 android:layout_marginBottom="4dp"
73 android:layout_weight="1" />
75 <com.android.settings.battery_history.GraphableButton
76 android:id="@+id/button3"
77 android:layout_width="match_parent"
78 android:layout_height="0dp"
79 android:layout_marginLeft="4dp"
80 android:layout_marginRight="4dp"
81 android:layout_marginBottom="4dp"
82 android:layout_weight="1" />
84 <com.android.settings.battery_history.GraphableButton
85 android:id="@+id/button4"
86 android:layout_width="match_parent"
87 android:layout_height="0dp"
88 android:layout_marginLeft="4dp"
89 android:layout_marginRight="4dp"
90 android:layout_marginBottom="4dp"
91 android:layout_weight="1" />
93 <com.android.settings.battery_history.GraphableButton
94 android:id="@+id/button5"
95 android:layout_width="match_parent"
96 android:layout_height="0dp"
97 android:layout_marginLeft="4dp"
98 android:layout_marginRight="4dp"
99 android:layout_marginBottom="4dp"
100 android:layout_weight="1" />
102 <com.android.settings.battery_history.GraphableButton
103 android:id="@+id/button6"
104 android:layout_width="match_parent"
105 android:layout_height="0dp"
106 android:layout_marginLeft="4dp"
107 android:layout_marginRight="4dp"
108 android:layout_marginBottom="4dp"
109 android:layout_weight="1" />
111 <com.android.settings.battery_history.GraphableButton
112 android:id="@+id/button7"
113 android:layout_width="match_parent"
114 android:layout_height="0dp"
115 android:layout_marginLeft="4dp"
116 android:layout_marginRight="4dp"
117 android:layout_marginBottom="4dp"
118 android:layout_weight="1" />
126 android:id="@+id/textLayout"
127 android:visibility="gone"
128 android:orientation="vertical"
129 android:layout_width="match_parent"
130 android:layout_height="match_parent" >
133 android:layout_width="match_parent"
134 android:layout_height="match_parent" >
136 android:id="@+id/detailsText"
137 android:layout_width="match_parent"
138 android:textSize="17dp"
139 android:layout_height="1000dp"/>