diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-09-20 13:27:00 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-09-20 13:27:00 +0000 |
commit | 9ca494d4b5409b12b8262194f736284036858c01 (patch) | |
tree | eabfd8bda9a18cf2c8053d6916627f7ee6f06759 /app/src/main/res/values/styles.xml | |
parent | 010c323769faf9703a84144576ba33eb4410562e (diff) | |
download | infinity-for-reddit-9ca494d4b5409b12b8262194f736284036858c01.tar infinity-for-reddit-9ca494d4b5409b12b8262194f736284036858c01.tar.gz infinity-for-reddit-9ca494d4b5409b12b8262194f736284036858c01.tar.bz2 infinity-for-reddit-9ca494d4b5409b12b8262194f736284036858c01.tar.lz infinity-for-reddit-9ca494d4b5409b12b8262194f736284036858c01.tar.xz infinity-for-reddit-9ca494d4b5409b12b8262194f736284036858c01.tar.zst infinity-for-reddit-9ca494d4b5409b12b8262194f736284036858c01.zip |
Changing font size is available. Delete duplicate Edit menu in comments.
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r-- | app/src/main/res/values/styles.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 0b7ea5c2..6a59fbc6 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -45,6 +45,9 @@ </style> <style name="MaterialAlertDialogTheme" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog"> + <item name="android:textSize">?attr/font_default</item> + <item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialogTitleTextStyle</item> + <item name="materialAlertDialogBodyTextStyle">@style/MaterialAlertDialogBodyTextStyle</item> <item name="buttonBarPositiveButtonStyle">@style/MaterialAlertDialogPositiveButtonStyle</item> <item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item> </style> @@ -57,10 +60,63 @@ <item name="android:textColor">@color/primaryTextColor</item> </style> + <style name="MaterialAlertDialogTitleTextStyle" parent="MaterialAlertDialog.MaterialComponents.Title.Text"> + <item name="android:textSize">?attr/font_20</item> + </style> + + <style name="MaterialAlertDialogBodyTextStyle"> + <item name="android:textSize">?attr/font_default</item> + </style> + <style name="PreferenceActivityTheme" parent="AppTheme.NoActionBar"> + <item name="android:textAppearanceListItem">@style/PreferenceTitleTextStyle</item> + <item name="android:textAppearanceListItemSecondary">@style/PreferenceSubtitleTextStyle</item> <item name="android:textColorPrimary">@color/primaryTextColor</item> <item name="buttonBarPositiveButtonStyle">@style/MaterialAlertDialogPositiveButtonStyle</item> <item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item> </style> + <style name="PreferenceTitleTextStyle"> + <item name="android:textSize">?attr/font_16</item> + </style> + + <style name="PreferenceSubtitleTextStyle"> + <item name="android:textSize">?attr/font_default</item> + </style> + + <style name="FontStyle"> + </style> + + <style name="FontStyle.Small"> + <item name="font_default">12sp</item> + <item name="font_12">12sp</item> + <item name="font_16">14sp</item> + <item name="font_18">16sp</item> + <item name="font_20">18sp</item> + </style> + + <style name="FontStyle.Normal"> + <item name="font_default">14sp</item> + <item name="font_12">12sp</item> + <item name="font_16">16sp</item> + <item name="font_18">18sp</item> + <item name="font_20">20sp</item> + </style> + + <style name="FontStyle.Large"> + <item name="font_default">16sp</item> + <item name="font_12">14sp</item> + <item name="font_16">18sp</item> + <item name="font_18">20sp</item> + <item name="font_20">22sp</item> + </style> + + <style name="FontStyle.XLarge"> + <item name="font_default">18sp</item> + <item name="font_12">16sp</item> + <item name="font_16">20sp</item> + <item name="font_18">22sp</item> + <item name="font_20">24sp</item> + </style> + </resources> |