From a47af477b6615f68cdb656039ea68c5cc5aa978a Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 4 Nov 2019 23:16:25 +0530 Subject: Remove useless parent layout Signed-off-by: Harsh Shandilya --- .../pwdstore/ui/adapters/EntryRecyclerAdapter.kt | 4 +- .../widget/MultiselectableConstraintLayout.kt | 41 +++++++ .../pwdstore/widget/MultiselectableLinearLayout.kt | 49 --------- app/src/main/res/layout/password_row_layout.xml | 120 ++++++++++----------- 4 files changed, 100 insertions(+), 114 deletions(-) create mode 100644 app/src/main/java/com/zeapo/pwdstore/widget/MultiselectableConstraintLayout.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/widget/MultiselectableLinearLayout.kt diff --git a/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt b/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt index ba66ed6f..e8822929 100644 --- a/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt +++ b/app/src/main/java/com/zeapo/pwdstore/ui/adapters/EntryRecyclerAdapter.kt @@ -12,7 +12,7 @@ import androidx.appcompat.widget.AppCompatTextView import androidx.recyclerview.widget.RecyclerView import com.zeapo.pwdstore.R import com.zeapo.pwdstore.utils.PasswordItem -import com.zeapo.pwdstore.widget.MultiselectableLinearLayout +import com.zeapo.pwdstore.widget.MultiselectableConstraintLayout import java.io.File import java.util.ArrayList import java.util.TreeSet @@ -103,7 +103,7 @@ abstract class EntryRecyclerAdapter internal constructor(val values: ArrayList

- + android:background="@drawable/password_row_background" + android:paddingTop="12dp" + android:paddingBottom="12dp"> - - - + - - - + - + - + - + - \ No newline at end of file + -- cgit v1.2.3