From b072ee99c2d1c4e5edd13f633bdeef27c61b784e Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 10 Jan 2019 19:46:59 +0000 Subject: [PATCH 1/1] profile list: add divider decoration --- .../net/ktnx/mobileledger/ui/activity/ProfileListActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java index 3e4f14b2..66288d52 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileListActivity.java @@ -23,6 +23,7 @@ import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; +import android.support.v7.widget.DividerItemDecoration; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.support.v7.widget.helper.ItemTouchHelper; @@ -138,6 +139,8 @@ public class ProfileListActivity extends AppCompatActivity { } }; new ItemTouchHelper(cb).attachToRecyclerView(recyclerView); + recyclerView.addItemDecoration(new DividerItemDecoration(recyclerView.getContext(), + DividerItemDecoration.VERTICAL)); } public static class ProfilesRecyclerViewAdapter -- 2.39.5