all: migrate to centralized constant table

Migrate to a centralized constant table for easier management.

Previously, Auxio would tie constants to the class itself, which
led to a largely disjointed system that relied on an internal table
so that it would stay sane. This commit moves all of those constants
to a single table for easier usage and management.
This commit is contained in:
OxygenCobalt
2022-03-19 20:05:57 -06:00
parent 6d9da35de0
commit 608112a7ac
23 changed files with 293 additions and 282 deletions
@@ -172,12 +172,10 @@
<string name="fmt_songs_loaded">已加载 %d 首曲目</string>
<plurals name="fmt_song_count">
<item quantity="one">%d 首歌曲</item>
<item quantity="other">"%d 首歌曲"</item>
</plurals>
<plurals name="fmt_album_count">
<item quantity="one">%d 张专辑</item>
<item quantity="other">"%d 张专辑"</item>
</plurals>
</resources>
+1
View File
@@ -2,6 +2,7 @@
<resources>
<integer name="detail_app_bar_title_anim_duration">150</integer>
<!-- FIXME: This is really stupid, figure out how we can unify it with the C object-->
<!-- Preference values -->
<string-array name="entries_theme">
<item>@string/set_theme_auto</item>