mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-01 10:33:45 +00:00
[android] Enable animateLayoutChanges in a layout
Signed-off-by: Jean-Baptiste Charron <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
committed by
Konstantin Pastbin
parent
8174eac134
commit
b96afc6fbb
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user