From f930e5b99b36f9a2e474f7b93deda28becdc364a Mon Sep 17 00:00:00 2001 From: Michael Kwan Date: Wed, 26 Oct 2016 16:01:01 -0700 Subject: [PATCH] Update progress bar and progress dialog to match UX specs for watch. Due to the smaller screens of watch, the progress bar default sizes have been reduced according to UX specs. Layout of progress dialog has been updated to match UX specs as well. Bug: 29352154 Change-Id: Ie3f42f5d6cb5cc14d422cb96cbb8dbfaf3deaca8 --- .../res/layout-watch/progress_dialog_material.xml | 5 +++-- core/res/res/values-watch/dimens_material.xml | 5 +++++ core/res/res/values/dimens_material.xml | 5 +++++ core/res/res/values/styles_material.xml | 12 ++++++++++++ 4 files changed, 25 insertions(+), 2 deletions(-) diff --git a/core/res/res/layout-watch/progress_dialog_material.xml b/core/res/res/layout-watch/progress_dialog_material.xml index 228f72454c0a6..96bda1d0c285b 100644 --- a/core/res/res/layout-watch/progress_dialog_material.xml +++ b/core/res/res/layout-watch/progress_dialog_material.xml @@ -32,14 +32,15 @@ + android:layout_marginEnd="8dp" /> diff --git a/core/res/res/values-watch/dimens_material.xml b/core/res/res/values-watch/dimens_material.xml index b48cde62158ab..3c4904ccf07d1 100644 --- a/core/res/res/values-watch/dimens_material.xml +++ b/core/res/res/values-watch/dimens_material.xml @@ -39,4 +39,9 @@ 1dip 1dip + + + 16dip + 32dip + 64dip diff --git a/core/res/res/values/dimens_material.xml b/core/res/res/values/dimens_material.xml index ae3116584e5de..30e7b31377128 100644 --- a/core/res/res/values/dimens_material.xml +++ b/core/res/res/values/dimens_material.xml @@ -193,4 +193,9 @@ 16dip 16dip + + + 16dip + 48dp + 76dp diff --git a/core/res/res/values/styles_material.xml b/core/res/res/values/styles_material.xml index 22bdf7e9616a3..a1e12d281c951 100644 --- a/core/res/res/values/styles_material.xml +++ b/core/res/res/values/styles_material.xml @@ -739,6 +739,10 @@ please see styles_device_defaults.xml.