[Android] Refactor app theme preference
Geoffrey Métais
git at videolan.org
Fri Mar 29 16:30:26 CET 2019
vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey at videolan.org> | Tue Mar 26 15:22:03 2019 +0100| [f98b4db0ce5a912bd425d76d3a4029d2d2c70453] | committer: Geoffrey Métais
Refactor app theme preference
(cherry picked from commit 043b3f0d469c11216618c3f3184fb5e0da966f2a)
> https://code.videolan.org/videolan/vlc-android/commit/f98b4db0ce5a912bd425d76d3a4029d2d2c70453
---
vlc-android/res/layout/onboarding_theme.xml | 45 +++++++--
vlc-android/res/values/arrays.xml | 16 +++
vlc-android/res/values/strings.xml | 3 +
vlc-android/res/xml/preferences_ui.xml | 19 ++--
.../src/org/videolan/vlc/gui/BaseActivity.java | 28 +++---
.../vlc/gui/onboarding/OnboardingActivity.kt | 2 +-
.../vlc/gui/onboarding/OnboardingThemeFragment.kt | 108 +++++++++------------
.../vlc/gui/onboarding/OnboardingViewModel.kt | 4 +
.../vlc/gui/preferences/PreferencesActivity.java | 13 ++-
.../vlc/gui/preferences/PreferencesUi.java | 24 ++---
.../vlc/gui/tv/preferences/PreferencesUi.java | 3 +-
11 files changed, 153 insertions(+), 112 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/f98b4db0ce5a912bd425d76d3a4029d2d2c70453
More information about the Android
mailing list