[Android] New mobile onboarding UI

Nicolas Pomepuy git at videolan.org
Mon Jul 5 11:12:29 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jul  1 15:33:07 2021 +0200| [4734eb50a4e02a0725e35606e838415334d4606d] | committer: Nicolas Pomepuy

New mobile onboarding UI

> https://code.videolan.org/videolan/vlc-android/commit/4734eb50a4e02a0725e35606e838415334d4606d
---

 .../images/svg/ic_onboarding_no_permission.svg     |  10 +
 .../assets/images/svg/ic_onboarding_scan.svg       |  10 +
 .../resources/assets/images/svg/ic_theme.svg       |  77 -----
 .../resources/assets/images/svg/ic_theme_dark.svg  | 244 ++-----------
 .../assets/images/svg/ic_theme_daynight.svg        | 359 +++----------------
 .../resources/assets/images/svg/ic_theme_light.svg | 262 ++------------
 .../main/java/org/videolan/resources/Constants.kt  |   1 +
 .../main/res/drawable-hdpi/ic_onboading_scan.png   | Bin 2822 -> 0 bytes
 .../main/res/drawable-mdpi/ic_onboading_scan.png   | Bin 1532 -> 0 bytes
 .../main/res/drawable-xhdpi/ic_onboading_scan.png  | Bin 3441 -> 0 bytes
 .../main/res/drawable-xxhdpi/ic_onboading_scan.png | Bin 6423 -> 0 bytes
 .../res/drawable-xxxhdpi/ic_onboading_scan.png     | Bin 7904 -> 0 bytes
 .../src/main/res/drawable/grey_circle.xml          |   6 -
 .../resources/src/main/res/drawable/ic_icon.xml    |  38 ++
 .../res/drawable/ic_onboarding_next_pressed.xml    |   6 -
 .../res/drawable/ic_onboarding_no_permission.xml   |  42 +++
 .../drawable/ic_onboarding_previous_pressed.xml    |   5 -
 .../src/main/res/drawable/ic_onboarding_scan.xml   |  42 +++
 .../src/main/res/drawable/ic_scan_onboarding.xml   |  42 +++
 .../src/main/res/drawable/ic_theme_dark.xml        | 211 +++++------
 .../src/main/res/drawable/ic_theme_daynight.xml    | 385 ++++++++++-----------
 .../src/main/res/drawable/ic_theme_light.xml       | 211 +++++------
 .../res/drawable/ic_widget_onboarding_next_w.xml   |   7 -
 .../drawable/ic_widget_onboarding_previous_w.xml   |   7 -
 .../main/res/drawable/theme_selection_rounded.xml  |   3 +-
 .../resources/src/main/res/values/strings.xml      |   3 +
 application/vlc-android/res/anim/no_animation.xml  |  29 ++
 .../vlc-android/res/anim/slide_in_bottom.xml       |  28 ++
 .../vlc-android/res/anim/slide_out_bottom.xml      |  28 ++
 .../res/layout-land/onboarding_no_permission.xml   | 136 ++++++++
 .../res/layout-land/onboarding_permission.xml      | 123 +++++++
 .../res/layout-land/onboarding_scanning.xml        | 138 ++++++++
 .../res/layout-land/onboarding_theme.xml           | 155 +++++++++
 .../res/layout-land/onboarding_welcome.xml         | 106 ++++++
 .../vlc-android/res/layout/activity_onboarding.xml | 104 +-----
 .../vlc-android/res/layout/directory_browser.xml   |   1 -
 .../vlc-android/res/layout/onboarding_folders.xml  |  53 ---
 .../res/layout/onboarding_no_permission.xml        |  94 ++---
 .../res/layout/onboarding_permission.xml           | 113 ++++++
 .../vlc-android/res/layout/onboarding_scanning.xml |  95 ++---
 .../vlc-android/res/layout/onboarding_theme.xml    | 117 ++++---
 .../vlc-android/res/layout/onboarding_welcome.xml  |  70 ++--
 application/vlc-android/res/values/styles.xml      |  21 +-
 .../src/org/videolan/vlc/gui/ContentActivity.kt    |   7 +-
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  |  47 ++-
 .../vlc/gui/browser/MLStorageBrowserFragment.kt    |  10 +-
 .../vlc/gui/onboarding/OnboardingActivity.kt       | 186 +++-------
 .../gui/onboarding/OnboardingFoldersFragment.kt    |  36 --
 .../vlc/gui/onboarding/OnboardingFragment.kt       |  37 ++
 .../onboarding/OnboardingFragmentPagerAdapter.kt   |  66 ----
 .../onboarding/OnboardingNoPermissionFragment.kt   |  12 +-
 .../gui/onboarding/OnboardingPermissionFragment.kt |  56 +++
 .../gui/onboarding/OnboardingScanningFragment.kt   |  34 +-
 .../vlc/gui/onboarding/OnboardingThemeFragment.kt  |  16 +-
 .../vlc/gui/onboarding/OnboardingViewModel.kt      |   9 +-
 .../gui/onboarding/OnboardingWelcomeFragment.kt    |   9 +-
 56 files changed, 1936 insertions(+), 1971 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/4734eb50a4e02a0725e35606e838415334d4606d


More information about the Android mailing list