From a1badbda33fbecc95bab367ed48b62b0f309b4dc Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 21 Dec 2018 19:28:22 +0000 Subject: [PATCH] let the amount text view appear as wide as needed --- .../main/java/net/ktnx/mobileledger/TransactionListAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5