Winson Chung | d63c5978 | 2012-09-05 17:34:41 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Daniel Sandler | b5538e6 | 2013-04-12 15:16:53 -0400 | [diff] [blame] | 2 | <!-- Copyright (C) 2013 The Android Open Source Project |
Winson Chung | d63c5978 | 2012-09-05 17:34:41 -0700 | [diff] [blame] | 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
Winson Chung | eaa5ab0 | 2012-09-13 16:36:41 -0700 | [diff] [blame] | 16 | <LinearLayout |
Daniel Sandler | b5538e6 | 2013-04-12 15:16:53 -0400 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
John Spurlock | 29786fc | 2014-02-04 17:55:47 -0500 | [diff] [blame] | 18 | xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" |
Daniel Sandler | b5538e6 | 2013-04-12 15:16:53 -0400 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
| 21 | android:layout_gravity="top" |
| 22 | android:orientation="vertical"> |
Daniel Sandler | dfaf3bd | 2013-04-12 01:39:02 -0400 | [diff] [blame] | 23 | <com.android.systemui.BatteryMeterView |
Daniel Sandler | b5538e6 | 2013-04-12 15:16:53 -0400 | [diff] [blame] | 24 | android:id="@+id/image" |
| 25 | android:layout_marginTop="@dimen/qs_tile_margin_above_icon" |
| 26 | android:layout_marginBottom="@dimen/qs_tile_margin_below_icon" |
Daniel Sandler | dfaf3bd | 2013-04-12 01:39:02 -0400 | [diff] [blame] | 27 | android:layout_width="22dp" |
| 28 | android:layout_height="32dp" |
| 29 | android:padding="3dp" |
Daniel Sandler | b5538e6 | 2013-04-12 15:16:53 -0400 | [diff] [blame] | 30 | android:layout_gravity="top|center_horizontal" |
John Spurlock | 29786fc | 2014-02-04 17:55:47 -0500 | [diff] [blame] | 31 | systemui:frameColor="@color/qs_batterymeter_frame_color" |
Daniel Sandler | b5538e6 | 2013-04-12 15:16:53 -0400 | [diff] [blame] | 32 | /> |
Winson Chung | eaa5ab0 | 2012-09-13 16:36:41 -0700 | [diff] [blame] | 33 | <TextView |
Daniel Sandler | b5538e6 | 2013-04-12 15:16:53 -0400 | [diff] [blame] | 34 | style="@style/TextAppearance.QuickSettings.TileView" |
| 35 | android:id="@+id/text" |
| 36 | android:layout_width="match_parent" |
| 37 | android:layout_height="wrap_content" |
| 38 | android:layout_gravity="top|center_horizontal" |
| 39 | android:gravity="top|center_horizontal" |
| 40 | /> |
Daniel Sandler | dfaf3bd | 2013-04-12 01:39:02 -0400 | [diff] [blame] | 41 | </LinearLayout> |