Skip to content
Snippets Groups Projects
Commit 9527b98e authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Proper fix for the ConstraintLayout issues

parent 3e63a845
No related branches found
No related tags found
1 merge request!959Proper fix for the ConstraintLayout issues
Pipeline #88894 passed with stage
in 2 minutes and 32 seconds
......@@ -38,6 +38,7 @@
android:background="@{bgColor}"
android:clickable="true"
android:focusable="true"
vlc:layout_optimizationLevel="cache_measures"
android:longClickable="true"
android:foreground="?attr/selectableItemBackground"
android:minHeight="@dimen/audio_browser_item_size"
......
......@@ -35,7 +35,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
app:layout_optimizationLevel="cache_measures">
<View
android:layout_width="0dp"
......@@ -60,7 +61,7 @@
<ImageView
android:layout_width="40dp"
android:layout_width="0dp"
android:layout_height="40dp"
android:id="@+id/coverImage"
android:layout_weight="1"
......
......@@ -58,6 +58,7 @@ ext {
//fixme : When we update this dep, please verify of this issue is fixed: https://github.com/material-components/material-components-android/issues/1086
// if so, revert application/vlc-android/res/values[-v21]/styles.xml -> AppModalStyle
androidxMaterialVersion = '1.3.0'
//fixme: when updating to 2.1.x+, we should remove the 'layout_optimizationLevel' attribute we added in some layouts as a workaround for this issue: https://issuetracker.google.com/issues/170313444
constraintLayoutVersion = '2.0.4'
viewPager2Version = "1.0.0"
archVersion = '2.1.0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment