Move theme checkbox to settings activity

This commit is contained in:
Neslihan 2017-03-18 01:49:19 +03:00
parent c7909b4f66
commit 7e256175dc
23 changed files with 118 additions and 121 deletions

View file

@ -7,7 +7,7 @@
<attr name="fragmentCategorisationBackground" format="reference"/>
<attr name="buttonBackground" format="reference"/>
<attr name="uploadOverlayBackground" format="reference"/>
<attr name="toggleButtonIcon" format="reference"/>
<attr name="spinnerTheme" format="reference"/>
<attr name="iconSend" format="reference"/>
<attr name="iconSave" format="reference"/>
<attr name="iconCamera" format="reference"/>

View file

@ -93,7 +93,7 @@ Tap this message (or hit back) to skip this step.</string>
<string name="allow_gps">Automatically get current location</string>
<string name="allow_gps_summary">Retrieve current location to offer category suggestions if image is not geotagged</string>
<string name="preference_theme">Select theme</string>
<string name="preference_theme_summary">Select application theme as light/dark</string>
<string name="preference_theme_summary">Select if you prefer night mode</string>
<string name="license_name_cc_by_sa_four"> Attribution-ShareAlike 4.0</string>
<string name="license_name_cc_by_four"> Attribution 4.0</string>
<string name="license_name_cc_by_sa"> Attribution-ShareAlike 3.0</string>

View file

@ -8,12 +8,12 @@
<item name="fragmentCategorisationBackground">@color/fragment_categorisation_background_dark</item>
<item name="buttonBackground">@color/button_background_dark</item>
<item name="uploadOverlayBackground">@color/upload_overlay_background_dark</item>
<item name="toggleButtonIcon">@drawable/toggle_inverse</item>
<item name="iconSend">@drawable/ic_send_white_24dp</item>
<item name="iconSave">@drawable/ic_save_white_24dp</item>
<item name="iconCamera">@drawable/ic_photo_camera_white_24dp</item>
<item name="iconPhoto">@drawable/ic_photo_white_24dp</item>
<item name="iconUndo">@drawable/ic_undo_white_24dp</item>
<item name="spinnerTheme">@style/DarkSpinnerTheme</item>
</style>
<style name="LightAppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
@ -24,7 +24,6 @@
<item name="fragmentCategorisationBackground">@color/fragment_categorisation_background_light</item>
<item name="buttonBackground">@color/button_background_light</item>
<item name="uploadOverlayBackground">@color/upload_overlay_background_light</item>
<item name="toggleButtonIcon">@drawable/toggle</item>
<item name="iconSend">@drawable/ic_send_white_24dp</item>
<item name="iconSave">@drawable/ic_save_white_24dp</item>
<item name="iconCamera">@drawable/ic_photo_camera_white_24dp</item>
@ -33,9 +32,14 @@
<item name="colorPrimary">@color/action_bar_blue</item>
<item name="colorPrimaryDark">@color/status_bar_blue</item>
<item name="spinnerTheme">@style/LightSpinnerTheme</item>
</style>
<style name="SpinnerTheme" parent="LightAppTheme">
<style name="DarkSpinnerTheme" parent="DarkAppTheme">
<item name="colorControlNormal">#ffffff</item>
</style>
<style name="LightSpinnerTheme" parent="LightAppTheme">
<item name="colorControlNormal">#ffffff</item>
</style>