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

Commit 26c73b0e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Tweak bar chart measurement."

parents ffd5fb69 dce047fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="20dp"
            android:gravity="center|bottom">

            <com.android.settingslib.widget.BarView
+1 −1
Original line number Diff line number Diff line
@@ -16,6 +16,6 @@
  -->

<resources>
    <dimen name="settings_bar_view_max_height">106dp</dimen>
    <dimen name="settings_bar_view_max_height">72dp</dimen>
    <dimen name="settings_bar_view_icon_size">24dp</dimen>
</resources>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@

    <style name="SettingsBarViewStyle">
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_height">250dp</item>
        <item name="android:layout_height">168dp</item>
        <item name="android:layout_weight">1</item>
        <item name="android:layout_marginStart">8dp</item>
        <item name="android:layout_marginEnd">8dp</item>
@@ -63,6 +63,7 @@
        <item name="android:layout_height">@dimen/settings_bar_view_icon_size</item>
        <item name="android:scaleType">fitCenter</item>
        <item name="android:layout_marginTop">12dp</item>
        <item name="android:tint">?android:attr/textColorPrimary</item>
    </style>

    <style name="SettingsBarChartBarTitle">
@@ -78,7 +79,6 @@
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_marginTop">4dp</item>
        <item name="android:layout_marginBottom">12dp</item>
        <item name="android:singleLine">true</item>
        <item name="android:ellipsize">marquee</item>
        <item name="android:textAppearance">@style/BarChart.Text.Summary</item>