From df055a4ac2f18501ac169e6ea0db63cfcd703c23 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Tue, 10 May 2016 12:45:53 -0700 Subject: [PATCH] Set Wi-Fi dialog spinners to 48dps tall Set the minimum height to align with the accessibility guidelines and to disable ripple projection. Also adds scroll indicators to the scroll view. Bug: 28683023 Change-Id: I24c58c0d6e8ef4b9efc8b3f877bcd659f42b6c6d --- res/layout/wifi_dialog.xml | 22 ++++++++++++---------- res/values/styles.xml | 4 ++++ 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/res/layout/wifi_dialog.xml b/res/layout/wifi_dialog.xml index 44523f44e2e..ceb7201baad 100644 --- a/res/layout/wifi_dialog.xml +++ b/res/layout/wifi_dialog.xml @@ -15,9 +15,10 @@ --> + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:fadeScrollbars="false" + android:scrollIndicators="top|bottom"> @@ -103,7 +104,7 @@ @@ -122,7 +123,7 @@ @@ -141,7 +142,7 @@ @@ -201,7 +202,7 @@ @@ -285,6 +286,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/wifi_item" + android:paddingBottom="4dp" android:visibility="gone"> @@ -439,7 +441,7 @@ diff --git a/res/values/styles.xml b/res/values/styles.xml index 1cd5fbb3b7e..bfe2d1c8711 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -228,6 +228,10 @@ ?android:attr/textColorPrimary + +