summaryrefslogtreecommitdiffstats
path: root/res/layout/preference_batteryhistory.xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-05-23 16:47:10 -0700
committerDianne Hackborn <hackbod@google.com>2014-05-23 16:47:37 -0700
commita32d81797f0e8164f922d9626ed6258c93b72772 (patch)
treed6340a30a471e26918c580b575b63f392ee0ab18 /res/layout/preference_batteryhistory.xml
parent474c704221a945b0dc7a0a3676d9bdda2dd5df01 (diff)
downloadpackages_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.xml2
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"