Fix the spacing between issuer and account name

This commit is contained in:
Michael Schättgen 2023-08-23 18:45:39 +02:00
parent 3e352156c4
commit 8917bb3b94

View File

@ -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);