[Android] Improve the download subtitle item
Nicolas Pomepuy
git at videolan.org
Thu Nov 21 13:19:10 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Oct 29 08:11:12 2024 +0100| [4b711260ec5583935a0258c6db76edd4dcba0fd6] | committer: Duncan McNamara
Improve the download subtitle item
Improve the layout and add the rating and download number
> https://code.videolan.org/videolan/vlc-android/commit/4b711260ec5583935a0258c6db76edd4dcba0fd6
---
.../org/videolan/resources/opensubtitles/Models.kt | 2 +-
.../src/main/res/drawable/ic_download.xml | 35 ++++++++
.../resources/src/main/res/drawable/ic_star.xml | 35 ++++++++
.../src/main/res/drawable/ic_star_border.xml | 35 ++++++++
.../src/main/res/drawable/ic_star_half.xml | 36 +++++++++
.../src/main/java/org/videolan/tools/Strings.kt | 6 ++
.../res/layout/subtitle_download_item.xml | 94 +++++++++++++++++++---
.../org/videolan/vlc/gui/dialogs/SubtitleItem.kt | 23 +++---
.../vlc/repository/ExternalSubRepository.kt | 7 +-
.../org/videolan/vlc/viewmodels/SubtitlesModel.kt | 19 ++++-
10 files changed, 267 insertions(+), 25 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/4b711260ec5583935a0258c6db76edd4dcba0fd6
More information about the Android
mailing list