Fix empty view text style

closes #701
This commit is contained in:
Grishka 2023-09-25 19:12:04 +03:00
parent 443e2c7a6f
commit 56aabdc4a6
2 changed files with 8 additions and 2 deletions

View File

@ -10,7 +10,7 @@ android {
minSdk 23 minSdk 23
targetSdk 33 targetSdk 33
versionCode 66 versionCode 66
versionName "2.1.0" versionName "2.1.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
resConfigs "ar-rSA", "be-rBY", "bn-rBD", "bs-rBA", "ca-rES", "cs-rCZ", "da-rDK", "de-rDE", "el-rGR", "es-rES", "eu-rES", "fa-rIR", "fi-rFI", "fil-rPH", "fr-rFR", "ga-rIE", "gd-rGB", "gl-rES", "hi-rIN", "hr-rHR", "hu-rHU", "hy-rAM", "ig-rNG", "in-rID", "is-rIS", "it-rIT", "iw-rIL", "ja-rJP", "kab", "ko-rKR", "my-rMM", "nl-rNL", "no-rNO", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ro-rRO", "ru-rRU", "si-rLK", "sl-rSI", "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "ur-rIN", "vi-rVN", "zh-rCN", "zh-rTW" resConfigs "ar-rSA", "be-rBY", "bn-rBD", "bs-rBA", "ca-rES", "cs-rCZ", "da-rDK", "de-rDE", "el-rGR", "es-rES", "eu-rES", "fa-rIR", "fi-rFI", "fil-rPH", "fr-rFR", "ga-rIE", "gd-rGB", "gl-rES", "hi-rIN", "hr-rHR", "hu-rHU", "hy-rAM", "ig-rNG", "in-rID", "is-rIS", "it-rIT", "iw-rIL", "ja-rJP", "kab", "ko-rKR", "my-rMM", "nl-rNL", "no-rNO", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ro-rRO", "ru-rRU", "si-rLK", "sl-rSI", "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "ur-rIN", "vi-rVN", "zh-rCN", "zh-rTW"
} }
@ -76,7 +76,7 @@ dependencies {
implementation 'me.grishka.litex:viewpager:1.0.0' implementation 'me.grishka.litex:viewpager:1.0.0'
implementation 'me.grishka.litex:viewpager2:1.0.0' implementation 'me.grishka.litex:viewpager2:1.0.0'
implementation 'me.grishka.litex:palette:1.0.0' implementation 'me.grishka.litex:palette:1.0.0'
implementation 'me.grishka.appkit:appkit:1.2.10' implementation 'me.grishka.appkit:appkit:1.2.11'
implementation 'com.google.code.gson:gson:2.8.9' implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.jsoup:jsoup:1.14.3' implementation 'org.jsoup:jsoup:1.14.3'
implementation 'com.squareup:otto:1.3.8' implementation 'com.squareup:otto:1.3.8'

View File

@ -21,6 +21,7 @@
<item name="android:actionModeBackground">@color/m3_sys_light_primary</item> <item name="android:actionModeBackground">@color/m3_sys_light_primary</item>
<item name="android:actionModeStyle">@style/Widget.Mastodon.Toolbar.ActionMode</item> <item name="android:actionModeStyle">@style/Widget.Mastodon.Toolbar.ActionMode</item>
<item name="android:actionModeCloseDrawable">@drawable/ic_actionmode_close</item> <item name="android:actionModeCloseDrawable">@drawable/ic_actionmode_close</item>
<item name="appkitEmptyTextAppearance">@style/empty_text</item>
<!-- M3 colors --> <!-- M3 colors -->
<item name="colorM3Primary">@color/m3_sys_light_primary</item> <item name="colorM3Primary">@color/m3_sys_light_primary</item>
@ -85,6 +86,7 @@
<item name="android:windowActionModeOverlay">true</item> <item name="android:windowActionModeOverlay">true</item>
<item name="android:actionModeBackground">@color/m3_sys_dark_primary</item> <item name="android:actionModeBackground">@color/m3_sys_dark_primary</item>
<item name="android:actionModeCloseDrawable">@drawable/ic_actionmode_close</item> <item name="android:actionModeCloseDrawable">@drawable/ic_actionmode_close</item>
<item name="appkitEmptyTextAppearance">@style/empty_text</item>
<!-- M3 colors --> <!-- M3 colors -->
<item name="colorM3Primary">@color/m3_sys_dark_primary</item> <item name="colorM3Primary">@color/m3_sys_dark_primary</item>
@ -399,4 +401,8 @@
<style name="window_fade_out"> <style name="window_fade_out">
<item name="android:windowExitAnimation">@anim/fade_out_fast</item> <item name="android:windowExitAnimation">@anim/fade_out_fast</item>
</style> </style>
<style name="empty_text" parent="m3_body_large">
<item name="android:textColor">?colorM3OnSurfaceVariant</item>
</style>
</resources> </resources>