summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2017-08-14 17:33:36 -0700
committerEric Erfanian <erfanian@google.com>2017-08-15 08:29:45 -0700
commit1998bb675eb9e3b3363095b3b6a09d71e947e179 (patch)
tree8bd684f080057dc36783ff263215d8b97c7d1835
parent7244b4d39c40a05ec082f5c93dace0d57c267295 (diff)
Adding TextAppearance theme to Primary and Secondary text styles.
There is no change visually but this may resolve an issue with textview being unable to inflate because of a potential theme bug. Bug: 64384829 Test: manual PiperOrigin-RevId: 165254157 Change-Id: I456b3548ce071710f5becd92188b8666f29be5fd
-rw-r--r--java/com/android/dialer/theme/res/values/themes.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/dialer/theme/res/values/themes.xml b/java/com/android/dialer/theme/res/values/themes.xml
index 124682692..0c07f3794 100644
--- a/java/com/android/dialer/theme/res/values/themes.xml
+++ b/java/com/android/dialer/theme/res/values/themes.xml
@@ -56,14 +56,14 @@
<item name="android:windowAnimationStyle">@android:style/Animation</item>
</style>
- <style name="PrimaryText">
+ <style name="PrimaryText" parent="TextAppearance.AppCompat">
<item name="android:textColor">#DE000000</item>
<item name="android:textSize">16sp</item>
<item name="android:ellipsize">end</item>
<item name="android:maxLines">1</item>
</style>
- <style name="SecondaryText">
+ <style name="SecondaryText" parent="TextAppearance.AppCompat">
<item name="android:textColor">#8A000000</item>
<item name="android:textSize">14sp</item>
<item name="android:ellipsize">end</item>