[Android] Refactor app theme preference

Geoffrey Métais git at videolan.org
Tue Mar 26 15:22:03 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey at videolan.org> | Tue Mar 26 15:22:03 2019 +0100| [043b3f0d469c11216618c3f3184fb5e0da966f2a] | committer: Geoffrey Métais

Refactor app theme preference

> https://code.videolan.org/videolan/vlc-android/commit/043b3f0d469c11216618c3f3184fb5e0da966f2a
---

 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/043b3f0d469c11216618c3f3184fb5e0da966f2a


More information about the Android mailing list