From 5fa45aeb7effd732299de322289e4a8cfddfc408 Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sun, 4 Aug 2019 17:10:11 +0200 Subject: [PATCH] Reformat code --- app/src/main/res/layout/chat_archive.xml | 4 ++-- app/src/main/res/layout/widget_buffer.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/chat_archive.xml b/app/src/main/res/layout/chat_archive.xml index 880e94188..02bd27297 100644 --- a/app/src/main/res/layout/chat_archive.xml +++ b/app/src/main/res/layout/chat_archive.xml @@ -20,8 +20,8 @@ <de.kuschku.quasseldroid.util.ui.fastscroll.views.FastScrollRecyclerView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" android:id="@+id/list" style="@style/Widget.FastScroller" + android:layout_width="match_parent" + android:layout_height="match_parent" tools:listitem="@layout/widget_buffer" /> diff --git a/app/src/main/res/layout/widget_buffer.xml b/app/src/main/res/layout/widget_buffer.xml index 6ad80d229..d4675ff1f 100644 --- a/app/src/main/res/layout/widget_buffer.xml +++ b/app/src/main/res/layout/widget_buffer.xml @@ -76,14 +76,14 @@ <androidx.appcompat.widget.AppCompatImageView android:id="@+id/handle" - android:visibility="gone" - tools:visibility="visible" android:layout_width="24dp" android:layout_height="24dp" android:layout_gravity="center_vertical" android:layout_marginStart="16dp" android:layout_marginLeft="16dp" android:contentDescription="@string/label_reorder" + android:visibility="gone" app:srcCompat="@drawable/ic_reorder" - app:tint="?colorTextSecondary" /> + app:tint="?colorTextSecondary" + tools:visibility="visible" /> </LinearLayout> -- GitLab