From bfb16f2d56dd4da8d302a924efb7ea119582fde0 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 29 Jun 2017 16:16:15 -0700 Subject: Finalize about activity --- .../main/res/layout/kau_about_iitem_library.xml | 107 ------------------ library/src/main/res/layout/kau_iitem_card.xml | 25 +++-- library/src/main/res/layout/kau_iitem_header.xml | 17 +++ library/src/main/res/layout/kau_iitem_library.xml | 124 +++++++++++++++++++++ 4 files changed, 155 insertions(+), 118 deletions(-) delete mode 100644 library/src/main/res/layout/kau_about_iitem_library.xml create mode 100644 library/src/main/res/layout/kau_iitem_header.xml create mode 100644 library/src/main/res/layout/kau_iitem_library.xml (limited to 'library/src/main/res/layout') diff --git a/library/src/main/res/layout/kau_about_iitem_library.xml b/library/src/main/res/layout/kau_about_iitem_library.xml deleted file mode 100644 index 0129512..0000000 --- a/library/src/main/res/layout/kau_about_iitem_library.xml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/library/src/main/res/layout/kau_iitem_card.xml b/library/src/main/res/layout/kau_iitem_card.xml index 4967a2e..621da2e 100644 --- a/library/src/main/res/layout/kau_iitem_card.xml +++ b/library/src/main/res/layout/kau_iitem_card.xml @@ -3,22 +3,21 @@ - + android:background="?android:selectableItemBackground" + android:minHeight="?android:listPreferredItemHeight"> + android:layout_height="wrap_content" + android:paddingBottom="@dimen/kau_padding_normal" + android:paddingEnd="@dimen/kau_padding_normal" + android:paddingTop="@dimen/kau_padding_normal"> + + app:layout_constraintTop_toTopOf="parent" + app:layout_goneMarginStart="@dimen/kau_padding_normal" /> + app:layout_constraintTop_toBottomOf="@id/kau_card_title" + app:layout_goneMarginStart="@dimen/kau_padding_normal" /> + app:layout_constraintTop_toBottomOf="@id/kau_card_description" + app:layout_goneMarginStart="@dimen/kau_padding_normal">