[Android] Download subtitles redesign

Nicolas Pomepuy git at videolan.org
Thu Jul 23 13:18:40 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Jul 22 09:35:09 2020 +0200| [73babeb43a793a9028b92cb0e686c7aeafe30ce3] | committer: Nicolas Pomepuy

Download subtitles redesign

Fixes #1351

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

 .../src/main/res/drawable/ic_ctx_done_normal.xml   |   6 +-
 .../src/main/res/drawable/ic_download.xml          |   9 +
 .../resources/src/main/res/drawable/ic_history.xml |   9 +
 .../src/main/res/drawable/ic_language.xml          |   9 +
 .../resources/src/main/res/drawable/ic_search.xml  |  16 +
 .../src/main/res/drawable/ic_sub_next.xml          |   9 +
 .../src/main/res/drawable/round_orange.xml         |   6 +
 .../resources/src/main/res/values/strings.xml      |   9 +-
 .../vlc-android/res/layout/language_spinner.xml    |  54 ++++
 .../res/layout/subtitle_download_fragment.xml      | 196 ------------
 .../res/layout/subtitle_download_item.xml          |  31 +-
 .../res/layout/subtitle_downloader_dialog.xml      | 336 +++++++++++++++++----
 .../res/layout/subtitle_history_fragment.xml       |  23 --
 .../org/videolan/vlc/gui/MultiSelectionSpinner.kt  | 115 -------
 .../vlc/gui/dialogs/SubtitleDownloadFragment.kt    |  88 ------
 .../dialogs/SubtitleDownloaderDialogFragment.kt    | 157 +++++++---
 .../vlc/gui/dialogs/SubtitleHistoryFragment.kt     |  51 ----
 .../videolan/vlc/gui/dialogs/SubtitlesAdapter.kt   |   1 -
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |   4 +-
 .../org/videolan/vlc/gui/view/LanguageSelector.kt  | 110 +++++++
 .../org/videolan/vlc/viewmodels/SubtitlesModel.kt  |  67 ++--
 .../videolan/vlc/viewmodels/SubtitlesModelTest.kt  |   2 +-
 22 files changed, 667 insertions(+), 641 deletions(-)

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


More information about the Android mailing list