From: Damyan Ivanov Date: Fri, 21 Dec 2018 19:28:22 +0000 (+0000) Subject: let the amount text view appear as wide as needed X-Git-Tag: v0.3~187 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=a1badbda33fbecc95bab367ed48b62b0f309b4dc;p=mobile-ledger.git let the amount text view appear as wide as needed --- diff --git a/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java b/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java index 0eb5e137..2e52093d 100644 --- a/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/TransactionListAdapter.java @@ -77,7 +77,7 @@ class TransactionListAdapter accAmount = new TextView(ctx); LinearLayout.LayoutParams llp = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, - LinearLayout.LayoutParams.WRAP_CONTENT, 1f); + LinearLayout.LayoutParams.WRAP_CONTENT); llp.setMarginEnd(0); accAmount.setLayoutParams(llp); accAmount.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_END);