• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Settings/assets/res/any/layout/battery_info.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/info_layout">
22
23    <!-- Battery Status -->
24    <LinearLayout style="@style/entry_layout">
25        <TextView android:text="@string/battery_info_status_label" style="@style/info_label" />
26        <TextView android:id="@+id/status" style="@style/info_value" />
27    </LinearLayout>
28
29    <!-- Battery Status -->
30    <LinearLayout style="@style/entry_layout">
31        <TextView android:text="@string/battery_info_power_label" style="@style/info_label" />
32        <TextView android:id="@+id/power" style="@style/info_value" />
33    </LinearLayout>
34
35    <!-- Battery Level -->
36    <LinearLayout style="@style/entry_layout">
37        <TextView android:text="@string/battery_info_level_label" style="@style/info_label" />
38        <TextView android:id="@+id/level" style="@style/info_value" />
39    </LinearLayout>
40
41    <!-- Battery Scale -->
42    <LinearLayout style="@style/entry_layout">
43        <TextView android:text="@string/battery_info_scale_label" style="@style/info_label" />
44        <TextView android:id="@+id/scale" style="@style/info_value" />
45    </LinearLayout>
46
47    <!-- Battery Health -->
48    <LinearLayout style="@style/entry_layout">
49        <TextView android:text="@string/battery_info_health_label" style="@style/info_label" />
50        <TextView android:id="@+id/health" style="@style/info_value" />
51    </LinearLayout>
52
53    <!-- Battery Voltage -->
54    <LinearLayout style="@style/entry_layout">
55        <TextView android:text="@string/battery_info_voltage_label" style="@style/info_label" />
56        <TextView android:id="@+id/voltage" style="@style/info_value" />
57    </LinearLayout>
58
59    <!-- Battery Temperature -->
60    <LinearLayout style="@style/entry_layout">
61        <TextView android:text="@string/battery_info_temperature_label" style="@style/info_label" />
62        <TextView android:id="@+id/temperature" style="@style/info_value" />
63    </LinearLayout>
64
65    <!-- Battery Technology -->
66    <LinearLayout style="@style/entry_layout">
67        <TextView android:text="@string/battery_info_technology_label" style="@style/info_label" />
68        <TextView android:id="@+id/technology" style="@style/info_value" />
69    </LinearLayout>
70
71    <!-- Uptime -->
72    <LinearLayout style="@style/entry_layout">
73        <TextView android:text="@string/battery_info_uptime" style="@style/info_label" />
74        <TextView android:id="@+id/uptime" style="@style/info_value" />
75    </LinearLayout>
76
77</LinearLayout>
78
79