[android] Enable animateLayoutChanges in a layout

Signed-off-by: Jean-Baptiste Charron <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-07-26 18:42:31 +02:00
committed by Konstantin Pastbin
parent 8174eac134
commit b96afc6fbb

View File

@@ -1,7 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- TODO set attr android:animateLayoutChanges="true"
when recyclerview-v7:23.2.1+ will be used.
RecyclerView of earlier versions doesn't have scrollTo method and hence crashes.-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/name"
@@ -9,7 +6,8 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingEnd="@dimen/margin_base"
android:paddingStart="@dimen/margin_base">
android:paddingStart="@dimen/margin_base"
android:animateLayoutChanges="true">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/show_additional_names"