[Android] Improve media type and presence icons

Nicolas Pomepuy git at videolan.org
Mon Apr 11 10:38:57 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Mar 23 14:26:17 2022 +0100| [d97b4da7f7cd89613c04abe8555d0ccbd5d26479] | committer: Duncan McNamara

Improve media type and presence icons

Fixes #2393

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

 .../src/main/res/drawable/ic_emoji_absent.xml      |  11 +++
 .../main/res/drawable/ic_emoji_media_absent.xml    |  11 +++
 .../main/res/drawable/ic_emoji_media_present.xml   |  12 +++
 ...moji_network_media.xml => ic_emoji_network.xml} |   6 +-
 .../res/drawable/ic_emoji_network_media_off.xml    |  36 -------
 .../src/main/res/drawable/ic_emoji_otg.xml         |   9 ++
 .../src/main/res/drawable/ic_emoji_sd.xml          |   9 ++
 .../src/main/res/drawable/ic_network_media.xml     |  36 -------
 .../src/main/res/drawable/ic_network_media_off.xml |  36 -------
 .../src/main/res/drawable/ic_sd_media_off.xml      |   9 --
 .../videolan/television/ui/FileTvItemAdapter.kt    |   2 +
 .../videolan/television/ui/MediaTvItemAdapter.kt   |  20 ++--
 .../src/main/res/layout/media_browser_tv_item.xml  |  58 +++++++++--
 .../main/res/layout/media_browser_tv_item_list.xml |  42 +++++++-
 .../res/layout/audio_browser_card_item.xml         | 108 ++++++++++++++-------
 .../vlc-android/res/layout/audio_browser_item.xml  |  42 +++++++-
 .../vlc-android/res/layout/history_item.xml        |  40 +++++++-
 .../vlc-android/res/layout/history_item_card.xml   |  40 +++++++-
 .../vlc-android/res/layout/video_grid_card.xml     |  50 ++++++++--
 .../vlc-android/res/layout/video_list_card.xml     |  36 ++++++-
 .../src/org/videolan/vlc/gui/HistoryAdapter.kt     |   6 ++
 .../videolan/vlc/gui/audio/AudioBrowserAdapter.kt  |  12 ++-
 .../org/videolan/vlc/gui/helpers/ImageLoader.kt    |   5 -
 .../org/videolan/vlc/gui/video/VideoListAdapter.kt |  11 +--
 .../src/org/videolan/vlc/util/Browserutils.kt      |   5 +
 .../src/org/videolan/vlc/util/Kextensions.kt       |   4 +-
 26 files changed, 447 insertions(+), 209 deletions(-)

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


More information about the Android mailing list