[Android] New video list UI with missing media implementation

Nicolas Pomepuy git at videolan.org
Thu Jun 10 09:40:57 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Feb 26 09:41:39 2021 +0100| [e3e40d2b376e1395282b7f7204e850165cf02ec1] | committer: Nicolas Pomepuy

New video list UI with missing media implementation

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

 .../resources/assets/images/svg/ic_emoji_file.svg  |  66 ++++
 .../assets/images/svg/ic_emoji_folder.svg          |  67 ++++
 .../assets/images/svg/ic_emoji_network_media.svg   |  71 ++++
 .../images/svg/ic_emoji_network_media_off.svg      |  71 ++++
 .../assets/images/svg/ic_network_media.svg         |   8 +
 .../assets/images/svg/ic_network_media_off.svg     |   8 +
 .../assets/images/svg/ic_no_thumbnail_1610.svg     |  26 +-
 .../resources/src/main/res/color/list_subtitle.xml |   3 +-
 .../src/main/res/color/list_subtitle_dark.xml      |  29 ++
 .../resources/src/main/res/color/list_title.xml    |  29 ++
 .../src/main/res/color/list_title_dark.xml         |  29 ++
 .../resources/src/main/res/drawable/ic_check.xml   |  33 ++
 .../main/res/drawable/ic_emoji_network_media.xml   |  36 ++
 .../res/drawable/ic_emoji_network_media_off.xml    |  36 ++
 .../src/main/res/drawable/ic_network_media.xml     |  36 ++
 .../src/main/res/drawable/ic_network_media_off.xml |  17 +-
 .../src/main/res/drawable/ic_no_thumbnail_1610.xml |  35 +-
 .../src/main/res/drawable/ic_play_circle_card.xml  |   2 +-
 .../src/main/res/drawable/ic_video_grid_check.xml  |  33 ++
 .../res/drawable/video_grid_card_background.xml    |  30 ++
 .../drawable/video_grid_card_background_dark.xml   |  30 ++
 .../video_grid_card_background_focused.xml         |  31 ++
 .../video_grid_card_background_focused_dark.xml    |  31 ++
 .../video_grid_card_background_selected.xml        |  31 ++
 .../video_grid_card_background_selected_dark.xml   |  31 ++
 .../main/res/drawable/video_list_background.xml    |  29 ++
 .../res/drawable/video_list_background_dark.xml    |  30 ++
 .../res/drawable/video_list_background_focused.xml |  30 ++
 .../video_list_background_focused_dark.xml         |  30 ++
 .../drawable/video_list_background_selected.xml    |  30 ++
 .../video_list_background_selected_dark.xml        |  30 ++
 .../main/res/drawable/video_overlay_gradient.xml   |  35 ++
 .../main/res/drawable/video_overlay_selected.xml   |  29 ++
 .../resources/src/main/res/values/attrs.xml        |   7 +-
 .../resources/src/main/res/values/colors.xml       |   3 +
 .../resources/src/main/res/values/dimens.xml       |   4 +-
 .../vlc-android/res/layout/card_browser_item.xml   |   2 +-
 .../vlc-android/res/layout/history_item_card.xml   |   2 +-
 application/vlc-android/res/layout/video_grid.xml  |   1 -
 .../vlc-android/res/layout/video_grid_card.xml     | 362 +++++++++++++--------
 .../vlc-android/res/layout/video_list_card.xml     | 228 +++++++++----
 application/vlc-android/res/values/styles.xml      |  24 +-
 .../src/org/videolan/vlc/gui/BaseActivity.kt       |   6 +
 .../vlc/gui/browser/MainBrowserFragment.kt         |   2 +-
 .../vlc/gui/browser/NetworkBrowserFragment.kt      |  10 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |   7 +
 .../videolan/vlc/gui/video/VideoGridFragment.kt    |   5 +-
 .../org/videolan/vlc/gui/video/VideoListAdapter.kt |  29 +-
 .../providers/medialibrary/VideoGroupsProvider.kt  |  39 ++-
 .../src/org/videolan/vlc/util/Browserutils.kt      |   2 +
 .../src/org/videolan/vlc/util/Kextensions.kt       |  25 ++
 51 files changed, 1550 insertions(+), 270 deletions(-)

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


More information about the Android mailing list