From eada3c2d339591620624b88271765c38dedd5132 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Sun, 24 Apr 2022 23:41:21 +0200 Subject: [PATCH] Enable fading edges on `ListView`s --- .../src/main/res/layout/leak_canary_heap_dumps_screen.xml | 1 + .../src/main/res/layout/leak_canary_hprof_explorer.xml | 1 + .../src/main/res/layout/leak_canary_leak_screen.xml | 1 + leakcanary-android-core/src/main/res/layout/leak_canary_list.xml | 1 + 4 files changed, 4 insertions(+) diff --git a/leakcanary-android-core/src/main/res/layout/leak_canary_heap_dumps_screen.xml b/leakcanary-android-core/src/main/res/layout/leak_canary_heap_dumps_screen.xml index 5cdc686cd7..03a2b51145 100644 --- a/leakcanary-android-core/src/main/res/layout/leak_canary_heap_dumps_screen.xml +++ b/leakcanary-android-core/src/main/res/layout/leak_canary_heap_dumps_screen.xml @@ -12,6 +12,7 @@ android:listSelector="@drawable/leak_canary_list_selector" android:divider="@null" android:dividerHeight="0dp" + android:requiresFadingEdge="vertical" /> diff --git a/leakcanary-android-core/src/main/res/layout/leak_canary_leak_screen.xml b/leakcanary-android-core/src/main/res/layout/leak_canary_leak_screen.xml index 43912ed896..0ab3f75803 100644 --- a/leakcanary-android-core/src/main/res/layout/leak_canary_leak_screen.xml +++ b/leakcanary-android-core/src/main/res/layout/leak_canary_leak_screen.xml @@ -34,5 +34,6 @@ android:listSelector="@drawable/leak_canary_list_selector" android:divider="@null" android:dividerHeight="0dp" + android:requiresFadingEdge="vertical" /> diff --git a/leakcanary-android-core/src/main/res/layout/leak_canary_list.xml b/leakcanary-android-core/src/main/res/layout/leak_canary_list.xml index 0d35113d7c..fb17d5e8df 100644 --- a/leakcanary-android-core/src/main/res/layout/leak_canary_list.xml +++ b/leakcanary-android-core/src/main/res/layout/leak_canary_list.xml @@ -10,5 +10,6 @@ android:listSelector="@drawable/leak_canary_list_selector" android:divider="@null" android:dividerHeight="0dp" + android:requiresFadingEdge="vertical" />