From 8917bb3b941985518034888a6aaed8fc7d50c133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Sch=C3=A4ttgen?= Date: Wed, 23 Aug 2023 18:45:39 +0200 Subject: [PATCH] Fix the spacing between issuer and account name --- .../java/com/beemdevelopment/aegis/ui/views/EntryHolder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/beemdevelopment/aegis/ui/views/EntryHolder.java b/app/src/main/java/com/beemdevelopment/aegis/ui/views/EntryHolder.java index 05e5a4f0..ed4be235 100644 --- a/app/src/main/java/com/beemdevelopment/aegis/ui/views/EntryHolder.java +++ b/app/src/main/java/com/beemdevelopment/aegis/ui/views/EntryHolder.java @@ -166,6 +166,7 @@ public class EntryHolder extends RecyclerView.ViewHolder { profileNameLayoutParams = (RelativeLayout.LayoutParams) _profileName.getLayoutParams(); profileNameLayoutParams.removeRule(RelativeLayout.END_OF); profileNameLayoutParams.addRule(RelativeLayout.BELOW, R.id.profile_issuer); + profileNameLayoutParams.setMarginStart(0); _profileName.setLayoutParams(profileNameLayoutParams); _profileName.setVisibility(View.VISIBLE); @@ -178,6 +179,7 @@ public class EntryHolder extends RecyclerView.ViewHolder { default: profileNameLayoutParams = (RelativeLayout.LayoutParams) _profileName.getLayoutParams(); profileNameLayoutParams.addRule(RelativeLayout.END_OF, R.id.profile_issuer); + profileNameLayoutParams.setMarginStart(24); profileNameLayoutParams.removeRule(RelativeLayout.BELOW); _profileName.setLayoutParams(profileNameLayoutParams); _profileName.setVisibility(View.VISIBLE);