[Android] Android TV: make it possible to ban/unban folders

Nicolas Pomepuy git at videolan.org
Mon Sep 5 11:44:04 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Aug 31 08:53:15 2022 +0200| [28c041ca4553184028b93612c35c30cc76dd31ba] | committer: Nicolas Pomepuy

Android TV: make it possible to ban/unban folders

Includes a new icon to ban / unban as the long click is already used for
the checkbox. It uses the focus to show/hide the icon
Fixes #2665

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

 .../resources/src/main/res/drawable/ic_ban.xml     |  9 +++++
 .../resources/src/main/res/drawable/ic_banned.xml  |  9 +++++
 .../resources/src/main/res/values/strings.xml      |  1 +
 .../vlc-android/res/layout/browser_item.xml        | 38 +++++++++++++++++++---
 .../vlc-android/res/layout/card_browser_item.xml   | 17 ++++++++++
 .../videolan/vlc/gui/browser/BaseBrowserAdapter.kt | 27 +++++++++++++++
 .../vlc/gui/browser/BrowserItemBindingContainer.kt |  9 +++++
 .../vlc/gui/browser/StorageBrowserAdapter.kt       | 31 ++++++++++++++++++
 8 files changed, 136 insertions(+), 5 deletions(-)

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


More information about the Android mailing list