From d5e20e14af1b45b27c4303494d26273c5c76ab8e Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Thu, 1 Jun 2017 15:46:21 -0700 Subject: [PATCH] Refine the ProgressCategory 1. Make the progressbar align with settings gear 2. Make text vertical center Bug: 37190885 Test: Screenshot Change-Id: Ib69b949179a0e097b78717cbe93c39aa0064ea9e --- res/layout/preference_progress_category.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/layout/preference_progress_category.xml b/res/layout/preference_progress_category.xml index d8586971f62..2ac3dc197d1 100644 --- a/res/layout/preference_progress_category.xml +++ b/res/layout/preference_progress_category.xml @@ -20,9 +20,9 @@ android:layout_height="wrap_content" android:gravity="center_vertical" android:orientation="horizontal" - android:layout_marginBottom="16dp" android:paddingStart="?android:attr/listPreferredItemPaddingStart" android:paddingTop="16dp" + android:paddingBottom="16dp" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">