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

Commit c7f1c3f5 authored by Michael Bestas's avatar Michael Bestas Committed by Steve Kondik
Browse files

SystemUI: Fix battery indicator alignment

Before: http://i.imgur.com/WEz7pPa.png
After: http://i.imgur.com/BkvQ3Df.png

Change-Id: I7ed9f79863eeebd3dd2ba44ae95d413d4d5ebe9e
parent 6ff5a319
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -100,7 +100,7 @@
                    android:id="@+id/battery"
                    android:id="@+id/battery"
                    android:layout_height="16dp"
                    android:layout_height="16dp"
                    android:layout_width="10.5dp"
                    android:layout_width="10.5dp"
                    android:layout_marginBottom="0.33dp"
                    android:layout_marginBottom="@dimen/status_bar_battery_bottom_padding"
                    android:layout_marginStart="4dip"
                    android:layout_marginStart="4dip"
                    />
                    />
                <com.android.systemui.statusbar.policy.CircleBattery
                <com.android.systemui.statusbar.policy.CircleBattery
@@ -108,7 +108,7 @@
                    android:layout_width="16dp"
                    android:layout_width="16dp"
                    android:layout_height="16dp"
                    android:layout_height="16dp"
                    android:layout_marginStart="4dip"
                    android:layout_marginStart="4dip"
                    android:layout_marginBottom="2px"
                    android:layout_marginBottom="@dimen/status_bar_battery_bottom_padding"
                    android:textAppearance="@style/TextAppearance.StatusBar.Battery"
                    android:textAppearance="@style/TextAppearance.StatusBar.Battery"
                    android:singleLine="true"
                    android:singleLine="true"
                    android:gravity="bottom"
                    android:gravity="bottom"
+21 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (c) 2006, The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/
-->
<resources>
    <!-- Padding under status bar battery icon -->
    <dimen name="status_bar_battery_bottom_padding">0px</dimen>
</resources>
+3 −0
Original line number Original line Diff line number Diff line
@@ -222,4 +222,7 @@


    <!-- used by DessertCase -->
    <!-- used by DessertCase -->
    <dimen name="dessert_case_cell_size">192dp</dimen>
    <dimen name="dessert_case_cell_size">192dp</dimen>

    <!-- Padding under status bar battery icon -->
    <dimen name="status_bar_battery_bottom_padding">1px</dimen>
</resources>
</resources>