diff options
author | Chihhang Chuang <chihhangchuang@google.com> | 2021-05-25 20:57:43 +0800 |
---|---|---|
committer | Chihhang Chuang <chihhangchuang@google.com> | 2021-05-25 21:13:49 +0800 |
commit | b7dc51db6e8584b83959cbbcf2b0645233035f7d (patch) | |
tree | a37444e925c61528586a3490e6a718f6e9ca061f /res/values | |
parent | 7c0a17b50d6eea7189b6335bcf21691b1cbced95 (diff) | |
download | ThemePicker-b7dc51db6e8584b83959cbbcf2b0645233035f7d.tar.gz |
Add new style for TextView
Bug: 189202125
Test: Manually
Change-Id: Ib4a86d8dfcaec0933fe0b3f5344786808aae9f40
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/styles.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index a9cf80c7..51d1f96e 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -99,4 +99,18 @@ <item name="android:inputType">text</item> <item name="android:maxLength">100</item> </style> + + <style name="SectionTitleTextStyle" parent="@android:style/TextAppearance.Material"> + <item name="android:textColor">?android:textColorPrimary</item> + <item name="android:textDirection">locale</item> + <item name="android:textSize">20sp</item> + <item name="android:lineHeight">24dp</item> + </style> + + <style name="SectionSubtitleTextStyle" parent="SectionTitleTextStyle"> + <item name="android:textColor">?android:textColorSecondary</item> + <item name="android:textSize">14sp</item> + <item name="android:lineHeight">20dp</item> + </style> + </resources> |