Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/fragment
remi6397 11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
..
AccountListFragment.java fix some lint warnings, remove unused code 2017-11-07 15:31:44 +01:00
AccountMediaFragment.kt Theming improvements (#502) 2018-01-20 13:39:01 +01:00
BaseFragment.java Reorganizes the whole codebase. 2017-05-04 18:55:35 -04:00
ComposeOptionsFragment.java Save reply info in draft, refactor (#449) 2017-11-16 19:18:11 +01:00
NotificationsFragment.java fix some lint warnings 2017-12-01 22:31:34 +01:00
PreferencesFragment.java implement support for HTTP proxy (#489) 2017-12-26 21:45:08 +01:00
SFragment.java UI Improvements (#445) 2017-11-30 20:12:09 +01:00
TimelineFragment.java Add basic lists support (#501) 2018-01-06 19:01:37 +01:00
ViewMediaFragment.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
ViewThreadFragment.java fix IndexOutOfBoundsException in ViewThreadFragment 2017-11-30 21:04:47 +01:00