diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-05-23 16:47:10 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-05-23 16:47:37 -0700 |
commit | a32d81797f0e8164f922d9626ed6258c93b72772 (patch) | |
tree | d6340a30a471e26918c580b575b63f392ee0ab18 /res/layout/preference_batteryhistory.xml | |
parent | 474c704221a945b0dc7a0a3676d9bdda2dd5df01 (diff) | |
download | packages_apps_Settings-a32d81797f0e8164f922d9626ed6258c93b72772.zip packages_apps_Settings-a32d81797f0e8164f922d9626ed6258c93b72772.tar.gz packages_apps_Settings-a32d81797f0e8164f922d9626ed6258c93b72772.tar.bz2 |
Fix issue #15185822: Stability: ArithmeticException: divide by zero
Also small visual improvements.
Change-Id: I55dc30539a4ef67e9261f338c8c5a729a6958d9b
Diffstat (limited to 'res/layout/preference_batteryhistory.xml')
-rw-r--r-- | res/layout/preference_batteryhistory.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/preference_batteryhistory.xml b/res/layout/preference_batteryhistory.xml index 86856d7..a09c6a8 100644 --- a/res/layout/preference_batteryhistory.xml +++ b/res/layout/preference_batteryhistory.xml @@ -19,7 +19,7 @@ xmlns:app="http://schemas.android.com/apk/res/com.android.settings" android:layout_width="match_parent" android:layout_height="wrap_content" - android:minHeight="128dp" + android:minHeight="@dimen/battery_history_chart_height" android:gravity="center_vertical" android:id="@+android:id/battery_history_chart" android:paddingEnd="?android:attr/scrollbarSize" |