From 48230e26c67154ed1e4b9a148ae0f6f8bfb372c9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Date: Thu, 18 Dec 2025 19:59:42 +0100 Subject: [PATCH] [android] Add animation in recyclerview Signed-off-by: Jean-Baptiste --- android/app/src/main/res/layout/item_bookmark_category.xml | 3 ++- android/app/src/main/res/layout/item_bookmark_collection.xml | 3 ++- android/app/src/main/res/layout/item_charge_socket.xml | 3 ++- android/app/src/main/res/layout/item_phone.xml | 3 ++- android/app/src/main/res/layout/item_timetable.xml | 3 ++- .../app/src/main/res/layout/item_timetable_closed_hours.xml | 3 ++- android/app/src/main/res/layout/item_track.xml | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/android/app/src/main/res/layout/item_bookmark_category.xml b/android/app/src/main/res/layout/item_bookmark_category.xml index b845165ec..119cc5780 100644 --- a/android/app/src/main/res/layout/item_bookmark_category.xml +++ b/android/app/src/main/res/layout/item_bookmark_category.xml @@ -5,7 +5,8 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@drawable/bg_clickable_card"> + android:background="@drawable/bg_clickable_card" + android:animateLayoutChanges="true"> + android:orientation="horizontal" + android:animateLayoutChanges="true"> + app:cardElevation="2dp" + android:animateLayoutChanges="true"> + android:paddingEnd="@dimen/margin_half_plus" + android:animateLayoutChanges="true"> + android:layout_marginTop="@dimen/margin_half" + android:animateLayoutChanges="true"> + android:paddingTop="@dimen/margin_base" + android:animateLayoutChanges="true"> + android:background="@drawable/bg_clickable_card" + android:animateLayoutChanges="true">