From b36d082b9f91c4fe6e9c360fe5e2fe914c88589b Mon Sep 17 00:00:00 2001 From: DSIW Date: Fri, 10 Jun 2016 03:13:09 +0200 Subject: Restyle password cards --- .../pwdstore/utils/PasswordRecyclerAdapter.java | 27 ++++---- app/src/main/res/layout/password_recycler_view.xml | 6 +- app/src/main/res/layout/password_row_layout.xml | 72 +++++++++++++--------- 3 files changed, 57 insertions(+), 48 deletions(-) diff --git a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java index 45dd0d0b..3f240515 100644 --- a/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java +++ b/app/src/main/java/com/zeapo/pwdstore/utils/PasswordRecyclerAdapter.java @@ -71,19 +71,18 @@ public class PasswordRecyclerAdapter extends RecyclerView.Adapter + android:layout_height="match_parent"/> - + android:layout_marginBottom="0dp" + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp" + android:layout_marginTop="0dp"> - + card_view:cardElevation="4dp" + card_view:cardUseCompatPadding="true" + card_view:contentPaddingLeft="4dp" + card_view:contentPaddingTop="4dp"> - - - - \ No newline at end of file + android:gravity="left"> + + + + + + + \ No newline at end of file -- cgit v1.2.3