X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fui%2Factivity%2FNewTransactionItemHolder.java;h=70819ebedcbc3aeafa0482aabf930b2d683c92bb;hb=c0d1c10b6440db293b1781e7b14705e0c00ab10a;hp=3a75760718d102f882f9ed3956f2b2331e7e8991;hpb=784dee8259fc3b073e5854fb538d19896803b852;p=mobile-ledger-staging.git diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java index 3a757607..70819ebe 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java @@ -444,11 +444,11 @@ class NewTransactionItemHolder extends RecyclerView.ViewHolder commentButton.setLayoutParams(lp); } else { - // hiding; hide the comment comment view and align amounts layout under it + // hiding; hide the comment view and align the comment bottom to the amount tvComment.setVisibility(View.GONE); ConstraintLayout.LayoutParams lp = (ConstraintLayout.LayoutParams) commentButton.getLayoutParams(); - lp.bottomToBottom = R.id.ntr_account; // R.id.parent doesn't work here + lp.bottomToBottom = R.id.amount_layout; // R.id.parent doesn't work here commentButton.setLayoutParams(lp); }