From ab9d6985fa1e2478cc24244f50890af91d591288 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Tue, 17 Jun 2014 13:56:13 -0700 Subject: [PATCH] Fix ProgressCategory theming and layout - add missing constructors for correct theming - fix layout by adding missing paddingStart / paddingEnd Change-Id: I52a511d326b760a47339b2b9dad349c9f825dbd2 --- res/layout/preference_progress_category.xml | 4 +++- .../android/settings/ProgressCategory.java | 24 ++++++++++++++++--- .../settings/ProgressCategoryBase.java | 15 +++++++++++- .../bluetooth/BluetoothProgressCategory.java | 20 +++++++++++++++- .../settings/bluetooth/BluetoothSettings.java | 2 +- 5 files changed, 58 insertions(+), 7 deletions(-) diff --git a/res/layout/preference_progress_category.xml b/res/layout/preference_progress_category.xml index d0cf60c7ec2..b09d607f953 100644 --- a/res/layout/preference_progress_category.xml +++ b/res/layout/preference_progress_category.xml @@ -18,7 +18,9 @@ + android:orientation="horizontal" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" >