blob: 1f39aef3ca8dcad2d4893b67e00900ce810ccb41 [file] [log] [blame]
Winson Chungd63c59782012-09-05 17:34:41 -07001<?xml version="1.0" encoding="utf-8"?>
Daniel Sandlerb5538e62013-04-12 15:16:53 -04002<!-- Copyright (C) 2013 The Android Open Source Project
Winson Chungd63c59782012-09-05 17:34:41 -07003
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 Chungeaa5ab02012-09-13 16:36:41 -070016<LinearLayout
Daniel Sandlerb5538e62013-04-12 15:16:53 -040017 xmlns:android="http://schemas.android.com/apk/res/android"
John Spurlock29786fc2014-02-04 17:55:47 -050018 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
Daniel Sandlerb5538e62013-04-12 15:16:53 -040019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:layout_gravity="top"
22 android:orientation="vertical">
Daniel Sandlerdfaf3bd2013-04-12 01:39:02 -040023 <com.android.systemui.BatteryMeterView
Daniel Sandlerb5538e62013-04-12 15:16:53 -040024 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 Sandlerdfaf3bd2013-04-12 01:39:02 -040027 android:layout_width="22dp"
28 android:layout_height="32dp"
29 android:padding="3dp"
Daniel Sandlerb5538e62013-04-12 15:16:53 -040030 android:layout_gravity="top|center_horizontal"
John Spurlock29786fc2014-02-04 17:55:47 -050031 systemui:frameColor="@color/qs_batterymeter_frame_color"
Daniel Sandlerb5538e62013-04-12 15:16:53 -040032 />
Winson Chungeaa5ab02012-09-13 16:36:41 -070033 <TextView
Daniel Sandlerb5538e62013-04-12 15:16:53 -040034 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 Sandlerdfaf3bd2013-04-12 01:39:02 -040041</LinearLayout>