[Android] Move the navigation to a bottom bar

Nicolas Pomepuy git at videolan.org
Thu Apr 16 15:43:11 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Mar 20 11:32:24 2020 +0100| [fed88280f11499987f05aa03e35082029c8fcc3f] | committer: Nicolas Pomepuy

Move the navigation to a bottom bar

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

 .../res/drawable/ic_menu_bookmark_outline_w.xml    |   2 +-
 .../src/main/res/drawable/ic_menu_bookmark_w.xml   |   2 +-
 .../resources/src/main/res/values/dimens.xml       |   2 +-
 .../resources/src/main/res/values/strings.xml      |   2 +
 .../res/color/bottom_navigation_selector.xml       |  28 ++++
 .../res/layout/audioplayercontainer.xml            |   4 +-
 application/vlc-android/res/layout/main.xml        |  92 +++++++------
 .../vlc-android/res/layout/playlist_activity.xml   |   1 +
 application/vlc-android/res/layout/toolbar.xml     |  22 +++-
 .../vlc-android/res/menu/bottom_navigation.xml     |  53 ++++++++
 application/vlc-android/res/values/styles.xml      |  12 ++
 .../vlc/gui/AudioPlayerContainerActivity.kt        |  57 ++++----
 .../src/org/videolan/vlc/gui/ContentActivity.kt    |   6 +
 .../src/org/videolan/vlc/gui/MainActivity.kt       |  26 +---
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  |   1 +
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  |   4 +-
 .../videolan/vlc/gui/browser/FilePickerFragment.kt |   3 +-
 .../vlc/gui/browser/MediaBrowserFragment.kt        |   2 +-
 .../vlc/gui/helpers/BottomNavigationBehavior.kt    | 146 +++++++++++++++++++++
 .../src/org/videolan/vlc/gui/helpers/Navigator.kt  |  60 +--------
 .../{BottomSheetBehavior.kt => PlayerBehavior.kt}  |   3 +-
 21 files changed, 369 insertions(+), 159 deletions(-)

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


More information about the Android mailing list