[Android] Add Albums and Playlists screens on TV

Nicolas Pomepuy git at videolan.org
Fri Jun 21 14:07:07 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Jun 20 14:58:51 2019 +0200| [866646b192199236df245919260b07879d365375] | committer: Geoffrey Métais

Add Albums and Playlists screens on TV

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

 assets/images/svg/ic_tv_list_play.svg              |  43 ++++
 .../java/org/videolan/tools/KotlinExtensions.kt    |   9 +-
 vlc-android/AndroidManifest.xml                    |  10 +-
 .../res/drawable/button_circle_white_selector.xml  |   7 +
 vlc-android/res/drawable/circle_white.xml          |   7 +
 .../res/drawable/divider_tv_card_content_dark.xml  |   7 +
 vlc-android/res/drawable/empty.xml                 |   2 +
 .../res/drawable/ic_tv_list_addtoplaylist.xml      |  16 ++
 vlc-android/res/drawable/ic_tv_list_append.xml     |  36 ++++
 vlc-android/res/drawable/ic_tv_list_delete.xml     |  13 ++
 vlc-android/res/drawable/ic_tv_list_movedown.xml   |  16 ++
 vlc-android/res/drawable/ic_tv_list_moveup.xml     |  16 ++
 vlc-android/res/drawable/ic_tv_list_play.xml       |  16 ++
 vlc-android/res/drawable/ic_tv_list_play_big.xml   |  16 ++
 vlc-android/res/drawable/ic_tv_list_playnext.xml   |  16 ++
 .../res/drawable/ic_tv_list_removefromplaylist.xml |  16 ++
 .../res/drawable/rectangle_circle_right_white.xml  |   9 +
 .../rectangle_circle_right_white_selector.xml      |   7 +
 vlc-android/res/layout/activity_media_list_tv.xml  | 198 +++++++++++++++++++
 .../res/layout/activity_media_list_tv_item.xml     | 220 +++++++++++++++++++++
 vlc-android/res/values/colors.xml                  |   3 +-
 vlc-android/res/values/strings.xml                 |   2 +
 vlc-android/src/org/videolan/vlc/gui/tv/TvUtil.kt  |  35 +++-
 .../vlc/gui/tv/browser/BaseBrowserTvFragment.kt    |   7 +-
 .../videolan/vlc/gui/tv/browser/BaseTvActivity.kt  |   5 +
 .../vlc/gui/tv/details/MediaListActivity.kt        | 159 +++++++++++++++
 .../vlc/gui/tv/details/MediaListAdapter.kt         | 129 ++++++++++++
 .../videolan/vlc/interfaces/ITVEventsHandler.kt    |  16 ++
 .../src/org/videolan/vlc/media/MediaUtils.kt       |  70 ++++---
 29 files changed, 1057 insertions(+), 49 deletions(-)

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


More information about the Android mailing list