[Android] Change the video tracks UI to prevent a crash

Nicolas Pomepuy git at videolan.org
Wed Jan 20 09:54:27 UTC 2021


vlc-android | branch: 3.3.x | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jan  7 07:21:25 2021 +0100| [766c116b005b5c474a6a4a70bfd00caf5af4d7f7] | committer: Nicolas Pomepuy

Change the video tracks UI to prevent a crash

See https://issuetracker.google.com/issues/175488703

(cherry picked from commit 9517102206d5ebb635ca907db55d9c56e7986010)

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

 .../src/main/res/drawable/ic_am_downsub.xml        |  4 +-
 .../src/main/res/drawable/ic_audiodelay.xml        |  4 +-
 .../src/main/res/drawable/ic_collapse_arrow.xml    | 33 ++++++++
 .../src/main/res/drawable/ic_subtitle_open_w.xml   |  4 +-
 .../src/main/res/drawable/ic_subtitledelay.xml     |  4 +-
 .../res/layout/player_overlay_track_item.xml       | 21 ++++-
 .../layout/player_overlay_track_option_item.xml    | 55 ++++++++++++
 .../res/layout/player_overlay_tracks.xml           |  4 +
 .../vlc-android/res/menu/audio_track_menu.xml      |  6 --
 .../vlc-android/res/menu/subtitle_track_menu.xml   | 12 ---
 .../videolan/vlc/gui/dialogs/VideoTracksDialog.kt  | 80 ++++++++++++------
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |  2 +-
 .../vlc/gui/video/VideoPlayerOverlayDelegate.kt    |  8 +-
 .../vlc/gui/view/CollapsibleLinearLayout.kt        | 98 ++++++++++++++++++++++
 .../org/videolan/vlc/gui/view/VideoTrackOption.kt  | 72 ++++++++++++++++
 15 files changed, 348 insertions(+), 59 deletions(-)

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


More information about the Android mailing list