]> git.ktnx.net Git - mobile-ledger.git/commitdiff
profile list: more visible selected item background
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 27 Feb 2019 17:56:34 +0000 (19:56 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 27 Feb 2019 17:56:34 +0000 (19:56 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfilesRecyclerViewAdapter.java

index 54386d9225279b4f7a09adca8dbcacc177f68acc..01119d3ab32d92eace21d0df129bb575e8e50625 100644 (file)
@@ -165,7 +165,7 @@ public class ProfilesRecyclerViewAdapter
         final boolean sameProfile = currentProfile.equals(profile);
         holder.itemView.setAlpha(sameProfile ? 1 : 0.5f);
         holder.itemView
         final boolean sameProfile = currentProfile.equals(profile);
         holder.itemView.setAlpha(sameProfile ? 1 : 0.5f);
         holder.itemView
-                .setBackground(sameProfile ? new ColorDrawable(Colors.tableRowLightBG) : null);
+                .setBackground(sameProfile ? new ColorDrawable(Colors.tableRowDarkBG) : null);
         if (editingProfiles) {
             holder.mRearrangeHandle.setVisibility(View.VISIBLE);
             holder.mEditButton.setVisibility(View.VISIBLE);
         if (editingProfiles) {
             holder.mRearrangeHandle.setVisibility(View.VISIBLE);
             holder.mEditButton.setVisibility(View.VISIBLE);