From f930e5b99b36f9a2e474f7b93deda28becdc364a Mon Sep 17 00:00:00 2001 From: Michael Kwan Date: Wed, 26 Oct 2016 16:01:01 -0700 Subject: 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 --- core/res/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 228f72454c0a..96bda1d0c285 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 b48cde62158a..3c4904ccf07d 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 ae3116584e5d..30e7b3137712 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 22bdf7e9616a..a1e12d281c95 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.