From 60fbfcac535869dfd70f0e667ff679e5cb7970ed Mon Sep 17 00:00:00 2001 From: FongMi Date: Sat, 20 May 2023 23:07:18 +0800 Subject: [PATCH] [mobile] fix lag --- .../mobile/res/layout/activity_history.xml | 85 ++++++++++--------- app/src/mobile/res/layout/activity_keep.xml | 85 ++++++++++--------- 2 files changed, 86 insertions(+), 84 deletions(-) diff --git a/app/src/mobile/res/layout/activity_history.xml b/app/src/mobile/res/layout/activity_history.xml index a226fc19d..181c12aa8 100644 --- a/app/src/mobile/res/layout/activity_history.xml +++ b/app/src/mobile/res/layout/activity_history.xml @@ -1,60 +1,61 @@ - + android:fitsSystemWindows="true" + android:orientation="vertical"> + android:layout_height="wrap_content" + android:layout_margin="16dp" + android:gravity="center_vertical" + android:orientation="horizontal"> - + + + + - - - - - - - - + android:background="?attr/selectableItemBackgroundBorderless" + android:src="@drawable/ic_action_delete" + android:visibility="gone" + tools:visibility="visible" /> + + + + + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:paddingBottom="8dp" /> - - \ No newline at end of file + + \ No newline at end of file diff --git a/app/src/mobile/res/layout/activity_keep.xml b/app/src/mobile/res/layout/activity_keep.xml index 9608f9452..950fe46ac 100644 --- a/app/src/mobile/res/layout/activity_keep.xml +++ b/app/src/mobile/res/layout/activity_keep.xml @@ -1,60 +1,61 @@ - + android:fitsSystemWindows="true" + android:orientation="vertical"> + android:layout_height="wrap_content" + android:layout_margin="16dp" + android:gravity="center_vertical" + android:orientation="horizontal"> - + + + + - - - - - - - - + android:background="?attr/selectableItemBackgroundBorderless" + android:src="@drawable/ic_action_delete" + android:visibility="gone" + tools:visibility="visible" /> + + + + + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:paddingBottom="8dp" /> - - \ No newline at end of file + + \ No newline at end of file