From 2689743f5b5d761ece04006820bde1cffa55b8ce Mon Sep 17 00:00:00 2001 From: shreerag Date: Thu, 16 Aug 2018 16:17:34 -0700 Subject: [PATCH] Fixing alert dialog content text to use textAppearance on Wear Bug: 112735877 Test: Build passes Change-Id: Ibe04b27229b0f5cb3b7acfaae7ffc57365b8ccf9 (cherry picked from commit 5c89fbda1019ccf6e5dd70134a24c9ea311f7a1b) --- .../layout-watch/alert_dialog_material.xml | 2 +- .../values-watch/styles_device_default.xml | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 core/res/res/values-watch/styles_device_default.xml diff --git a/core/res/res/layout-watch/alert_dialog_material.xml b/core/res/res/layout-watch/alert_dialog_material.xml index 960b927a0e64f..1d5684550fb9e 100644 --- a/core/res/res/layout-watch/alert_dialog_material.xml +++ b/core/res/res/layout-watch/alert_dialog_material.xml @@ -51,7 +51,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_horizontal|top" - android:textAppearance="@style/TextAppearance.Material.Subhead" + android:textAppearance="@style/TextAppearance.DeviceDefault.Body1" android:paddingStart="?dialogPreferredPadding" android:paddingEnd="?dialogPreferredPadding" android:paddingTop="8dip" diff --git a/core/res/res/values-watch/styles_device_default.xml b/core/res/res/values-watch/styles_device_default.xml new file mode 100644 index 0000000000000..c9a444063e673 --- /dev/null +++ b/core/res/res/values-watch/styles_device_default.xml @@ -0,0 +1,22 @@ + + + + + +