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

Commit 0106a2ef authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Fix padding for Battery Chart Headers label

- make it consistent with the rest of the Settings App
- also fix label gravity (for RTL support)

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I91cbfc62daf05d819009f7086047b5b78a03be4e
parent 18bc61bc
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -19,13 +19,18 @@
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:minHeight="@dimen/battery_history_chart_height">

    <include layout="@layout/battery_history_chart" />

    <TextView android:id="@+id/labelsHeader"
              android:layout_width="match_parent"
              android:layout_height="48dp"
              android:textAppearance="?android:attr/textAppearanceMedium"
              android:textSize="14sp"
              android:textColor="?android:attr/colorControlActivated"
              android:gravity="left|center_vertical"
              android:text="@string/power_usage_list_summary" />
              android:gravity="start|center_vertical"
              android:text="@string/power_usage_list_summary"
              android:paddingStart="?android:attr/listPreferredItemPaddingStart"
              android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" />

</LinearLayout>