[Android] Fix the history item thumb sizing

Nicolas Pomepuy git at videolan.org
Fri May 28 08:46:00 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu May 27 07:30:30 2021 +0200| [bc0bb808dc3139070f4ebfb30630eb94e59f0296] | committer: Nicolas Pomepuy

Fix the history item thumb sizing

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

 application/vlc-android/res/layout/history_item.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/application/vlc-android/res/layout/history_item.xml b/application/vlc-android/res/layout/history_item.xml
index 1cfbe4f95..ba37600ba 100644
--- a/application/vlc-android/res/layout/history_item.xml
+++ b/application/vlc-android/res/layout/history_item.xml
@@ -34,6 +34,7 @@
             android:clickable="true"
             android:focusable="true"
             android:minHeight="@dimen/audio_browser_item_size"
+            app:layout_optimizationLevel="cache_measures"
             android:onClick="@{holder::onClick}"
             android:onLongClick="@{holder::onLongClick}">
 
@@ -46,6 +47,7 @@
                 android:layout_marginBottom="4dp"
                 app:layout_constraintBottom_toBottomOf="parent"
                 app:layout_constraintDimensionRatio="16:10"
+                app:layout_optimizationLevel="cache_measures"
                 app:layout_constraintStart_toStartOf="parent"
                 app:layout_constraintTop_toTopOf="parent">
 



More information about the Android mailing list