Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0429599d authored by Clark Scheff's avatar Clark Scheff Committed by Gerrit Code Review
Browse files

Merge "Themes: add ability to theme quick settings battery tiles" into cm-11.0

parents 3d8f4c63 be914b69
Loading
Loading
Loading
Loading
+926 B
Loading image diff...
+926 B
Loading image diff...
+926 B
Loading image diff...
+926 B
Loading image diff...
+32 −22
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
<!-- Copyright (C) 2013 The CyanogenMod Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
@@ -13,27 +13,37 @@
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
        android:layout_gravity="top"
        android:orientation="vertical">
    <com.android.systemui.BatteryMeterView
    android:layout_gravity="top" >

    <FrameLayout
        android:id="@+id/image"
            android:layout_marginTop="@dimen/qs_tile_margin_above_icon"
        android:layout_width="@dimen/qs_tile_icon_size"
        android:layout_height="@dimen/qs_tile_icon_size"
        android:layout_centerHorizontal="true"
        android:layout_gravity="top|center_horizontal"
        android:layout_marginBottom="@dimen/qs_tile_margin_below_icon"
        android:layout_marginTop="@dimen/qs_tile_margin_above_icon"
        android:background="@drawable/ic_qs_battery_bg" >

        <com.android.systemui.BatteryMeterView
            android:id="@+id/battery"
            android:layout_width="22dp"
            android:layout_height="32dp"
            android:padding="3dp"
            android:layout_gravity="top|center_horizontal"
            />
            android:layout_gravity="center"
            android:padding="3dp" />
    </FrameLayout>

    <TextView
            style="@style/TextAppearance.QuickSettings.TileView"
        android:id="@+id/text"
        style="@style/TextAppearance.QuickSettings.TileView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/image"
        android:layout_centerHorizontal="true"
        android:layout_gravity="top|center_horizontal"
            android:gravity="top|center_horizontal"
            />
</LinearLayout>
        android:gravity="top|center_horizontal" />

</RelativeLayout>
Loading