diff options
Diffstat (limited to 'library/src/main/res')
-rw-r--r-- | library/src/main/res/layout/kau_preference.xml | 16 |
1 files changed, 8 insertions, 8 deletions
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.support.constraint.ConstraintLayout android:id="@+id/kau_pref_container" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" + android:paddingStart="?android:attr/listPreferredItemPaddingStart"> <!--As per Android N, icons (24dp) are aligned to the left rather than centered--> @@ -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" /> <LinearLayout android:id="@id/kau_pref_inner_frame" |