From 078190b3603d3eaa50e3e3238cb9e6e124a9d970 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Wed, 14 Jun 2017 15:27:16 -0700 Subject: Add pref item click options --- library/src/main/res/layout/kau_preference.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'library/src/main/res/layout/kau_preference.xml') diff --git a/library/src/main/res/layout/kau_preference.xml b/library/src/main/res/layout/kau_preference.xml index 677b0dc..c49951b 100644 --- a/library/src/main/res/layout/kau_preference.xml +++ b/library/src/main/res/layout/kau_preference.xml @@ -7,18 +7,18 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?android:attr/selectableItemBackground" android:baselineAligned="false" android:clipToPadding="false" android:minHeight="?android:attr/listPreferredItemHeightSmall" - android:orientation="horizontal" - android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" - android:paddingStart="?android:attr/listPreferredItemPaddingStart"> + android:orientation="horizontal"> + android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" + android:paddingStart="?android:attr/listPreferredItemPaddingStart"> @@ -72,10 +72,10 @@ android:id="@+id/kau_pref_barrier" android:layout_width="1dp" android:layout_height="wrap_content" - app:constraint_referenced_ids="kau_pref_title,kau_pref_desc" app:barrierDirection="end" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" /> + app:constraint_referenced_ids="kau_pref_title,kau_pref_desc" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toTopOf="parent" />