From c33fe20915ec584a3a684e7de5a5cac1d6571933 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 5 Dec 2020 11:30:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=BA=90=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E8=AE=A2=E9=98=85=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/res/layout/activity_source_sub.xml | 4 +++- app/src/main/res/layout/item_source_sub.xml | 17 +++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/activity_source_sub.xml b/app/src/main/res/layout/activity_source_sub.xml index 1c7afd780..94bd366e3 100644 --- a/app/src/main/res/layout/activity_source_sub.xml +++ b/app/src/main/res/layout/activity_source_sub.xml @@ -3,6 +3,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical"> + app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" + tools:listitem="@layout/item_source_sub" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_source_sub.xml b/app/src/main/res/layout/item_source_sub.xml index e131f32fc..b64595177 100644 --- a/app/src/main/res/layout/item_source_sub.xml +++ b/app/src/main/res/layout/item_source_sub.xml @@ -4,26 +4,39 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="16dp"> + android:padding="12dp"> + +