Skip to content

Commit

Permalink
Fix the spacing between issuer and account name
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelschattgen committed Aug 23, 2023
1 parent 3e35215 commit 8917bb3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ private void setAccountNameLayout(AccountNamePosition accountNamePosition) {
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);

Expand All @@ -178,6 +179,7 @@ private void setAccountNameLayout(AccountNamePosition accountNamePosition) {
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);
Expand Down

0 comments on commit 8917bb3

Please sign in to comment.