Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-android
Commits
f61b0c0e
Commit
f61b0c0e
authored
Sep 19, 2018
by
michael lundquist
Browse files
Adding A toggle for the dark theme.
parent
594aea9f
Pipeline
#2933
passed with stages
in 3 minutes and 37 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
app/src/main/res/values/strings.xml
View file @
f61b0c0e
...
...
@@ -17,6 +17,7 @@
<string
name=
"title_turn_off_rotation"
>
Turn off rotation
</string>
<string
name=
"title_notification"
>
Notifications
</string>
<string
name=
"title_turn_off_vibrations"
>
Turn off vibrations
</string>
<string
name=
"title_dark_theme"
>
Dark theme
</string>
<string-array
name=
"entries_list_view_information_preference"
>
<item>
Both
</item>
<item>
Only for open Facilities
</item>
...
...
app/src/main/res/xml/settings.xml
View file @
f61b0c0e
...
...
@@ -17,6 +17,12 @@
android:entries=
"@array/entries_list_view_default_tab_preference"
android:entryValues=
"@array/entryvalues_list_view_default_tab_preference"
/>
<SwitchPreference
android:defaultValue=
"true"
android:key=
"dark_theme"
android:title=
"@string/title_dark_theme"
android:entries=
"@array/entries_list_view_default_tab_preference"
android:entryValues=
"@array/entryvalues_list_view_default_tab_preference"
/>
</PreferenceCategory>
<PreferenceCategory
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment