[Android] Refactor empty and loading views in a custom view

Nicolas Pomepuy git at videolan.org
Tue Oct 8 09:48:19 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Sep 27 09:58:37 2019 +0200| [2e8d7aaee1b7f78b47a3a5b7f4094b19d3c3533d] | committer: Geoffrey Métais

Refactor empty and loading views in a custom view

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

 vlc-android/res/drawable-hdpi/ic_empty_normal.png  | Bin 5133 -> 0 bytes
 vlc-android/res/drawable-hdpi/ic_empty_w.png       | Bin 5037 -> 0 bytes
 vlc-android/res/drawable-mdpi/ic_empty_normal.png  | Bin 2834 -> 0 bytes
 vlc-android/res/drawable-mdpi/ic_empty_w.png       | Bin 2748 -> 0 bytes
 vlc-android/res/drawable-xhdpi/ic_empty_normal.png | Bin 6114 -> 0 bytes
 vlc-android/res/drawable-xhdpi/ic_empty_w.png      | Bin 6102 -> 0 bytes
 .../res/drawable-xxhdpi/ic_empty_normal.png        | Bin 11583 -> 0 bytes
 vlc-android/res/drawable-xxhdpi/ic_empty_w.png     | Bin 11474 -> 0 bytes
 .../res/drawable-xxxhdpi/ic_empty_normal.png       | Bin 14084 -> 0 bytes
 vlc-android/res/drawable-xxxhdpi/ic_empty_w.png    | Bin 13912 -> 0 bytes
 vlc-android/res/drawable/ic_empty.xml              |  35 ++++++
 vlc-android/res/layout/audio_browser.xml           |  35 ++----
 vlc-android/res/layout/directory_browser.xml       |  21 ++--
 vlc-android/res/layout/song_browser.xml            |  26 ++--
 vlc-android/res/layout/video_grid.xml              |  84 +------------
 vlc-android/res/layout/view_empty_loading.xml      | 135 +++++++++++++++++++++
 vlc-android/res/values/attrs.xml                   |   6 +-
 vlc-android/res/values/strings.xml                 |   2 +-
 vlc-android/res/values/styles.xml                  |   5 +-
 .../videolan/vlc/gui/audio/AudioBrowserFragment.kt |  24 +---
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  11 +-
 .../videolan/vlc/gui/browser/FilePickerFragment.kt |   2 +-
 .../vlc/gui/browser/NetworkBrowserFragment.kt      |  31 +++--
 .../vlc/gui/tv/browser/BaseBrowserTvFragment.kt    |   3 +-
 .../vlc/gui/tv/browser/FileBrowserTvFragment.kt    |   8 +-
 .../vlc/gui/tv/browser/MediaBrowserTvFragment.kt   |   3 +-
 .../videolan/vlc/gui/video/VideoGridFragment.kt    |  15 +--
 .../videolan/vlc/gui/view/EmptyLoadingStateView.kt | 116 ++++++++++++++++++
 28 files changed, 374 insertions(+), 188 deletions(-)

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


More information about the Android mailing list