Fixing alert dialog content text to use textAppearance on Wear
Bug: 112735877 Test: Build passes Change-Id: Ibe04b27229b0f5cb3b7acfaae7ffc57365b8ccf9 (cherry picked from commit 5c89fbda1019ccf6e5dd70134a24c9ea311f7a1b)
This commit is contained in:
@@ -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"
|
||||
|
||||
22
core/res/res/values-watch/styles_device_default.xml
Normal file
22
core/res/res/values-watch/styles_device_default.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<style name="TextAppearance.DeviceDefault.Body1" parent="TextAppearance.Material.Body1">
|
||||
<item name="android:textSize">15sp</item>
|
||||
<item name="android:fontFamily">sans-serif</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user