• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="fill_parent"
6    android:layout_height="fill_parent">
7
8    <TextView
9        android:id="@+id/title"
10        android:layout_width="fill_parent"
11        android:layout_height="wrap_content" />
12
13    <LinearLayout
14        android:id="@+id/graphLayout"
15        android:orientation="vertical"
16        android:layout_width="fill_parent"
17        android:layout_height="fill_parent" >
18
19        <Spinner
20            android:id="@+id/typeSpinner"
21            android:layout_width="fill_parent"
22            android:layout_height="wrap_content"
23            android:entries="@array/battery_history_type_spinner" />
24
25        <Spinner
26            android:id="@+id/whichSpinner"
27            android:layout_width="fill_parent"
28            android:layout_height="wrap_content"
29            android:entries="@array/battery_history_which_spinner" />
30
31        <ScrollView
32            android:layout_width="fill_parent"
33            android:layout_height="wrap_content" >
34
35        <LinearLayout
36            android:orientation="vertical"
37            android:layout_width="fill_parent"
38            android:layout_height="wrap_content" >
39
40        <TextView
41            android:id="@+id/messageText"
42            android:layout_width="fill_parent"
43            android:layout_height="wrap_content"
44            android:gravity="center_horizontal"
45            android:textSize="17dp"
46            android:visibility="gone" />
47
48        <com.android.settings.battery_history.GraphableButton
49            android:id="@+id/button0"
50            android:layout_width="fill_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" />
56
57        <com.android.settings.battery_history.GraphableButton
58            android:id="@+id/button1"
59            android:layout_width="fill_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" />
65
66        <com.android.settings.battery_history.GraphableButton
67            android:id="@+id/button2"
68            android:layout_width="fill_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" />
74
75        <com.android.settings.battery_history.GraphableButton
76            android:id="@+id/button3"
77            android:layout_width="fill_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" />
83
84        <com.android.settings.battery_history.GraphableButton
85            android:id="@+id/button4"
86            android:layout_width="fill_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" />
92
93        <com.android.settings.battery_history.GraphableButton
94            android:id="@+id/button5"
95            android:layout_width="fill_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" />
101
102        <com.android.settings.battery_history.GraphableButton
103            android:id="@+id/button6"
104            android:layout_width="fill_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" />
110
111        <com.android.settings.battery_history.GraphableButton
112            android:id="@+id/button7"
113            android:layout_width="fill_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" />
119
120        </LinearLayout>
121        </ScrollView>
122
123    </LinearLayout>
124
125    <LinearLayout
126        android:id="@+id/textLayout"
127        android:visibility="gone"
128        android:orientation="vertical"
129        android:layout_width="fill_parent"
130        android:layout_height="fill_parent" >
131
132        <ScrollView
133            android:layout_width="fill_parent"
134            android:layout_height="fill_parent" >
135            <TextView
136                android:id="@+id/detailsText"
137                android:layout_width="fill_parent"
138                android:textSize="17dp"
139                android:layout_height="1000dp"/>
140        </ScrollView>
141
142    </LinearLayout>
143
144</LinearLayout>
145