[Android] Fix Tv crash on layouts when using the selectableItemBackground attrs

Nicolas Pomepuy git at videolan.org
Mon Nov 15 09:36:22 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Nov 15 10:29:59 2021 +0100| [9de6d70169307d19f9954e0d0fb0f0f92ffbb93f] | committer: Nicolas Pomepuy

Fix Tv crash on layouts when using the selectableItemBackground attrs

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

 application/vlc-android/res/values/styles.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/vlc-android/res/values/styles.xml b/application/vlc-android/res/values/styles.xml
index 3c73b506b..cc09ca957 100644
--- a/application/vlc-android/res/values/styles.xml
+++ b/application/vlc-android/res/values/styles.xml
@@ -285,10 +285,10 @@
         <item name="bookmark_background">@color/black_transparent_80</item>
         <item name="background_default">@color/grey850</item>
         <item name="actionBarItemBackground">@drawable/ic_circle_audio_player</item>
-        <item name="selectableItemBackgroundBorderless">@drawable/ic_circle_audio_player</item>
         <item name="primary_focus">@color/orange_500_transparent_20</item>
         <item name="empty_title">@color/grey300</item>
-
+        <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
+        <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
     </style>
     
     



More information about the Android mailing list