mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
Added Support for System Wide Dark Theme (#3460)
* Added Support for System Wide Dark Theme * changed methods to private * Moved Strings to strings.xml * Used Dagger to reduce code repetition * Changes made as per review suggestions * Minor Changes * Fixes as per suggestions * Minor Fixes as per suggestion * made the variables static * removed irrelevant code
This commit is contained in:
parent
65ec071493
commit
1584ffe0e2
9 changed files with 139 additions and 42 deletions
|
|
@ -35,4 +35,15 @@
|
|||
<item>@string/exif_tag_software</item>
|
||||
</array>
|
||||
|
||||
<array name="pref_theme_entries">
|
||||
<item>@string/theme_default_name</item>
|
||||
<item>@string/theme_dark_name</item>
|
||||
<item>@string/theme_light_name</item>
|
||||
</array>
|
||||
|
||||
<string-array name="pref_theme_entries_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue