From b59786713721fa7d02cf1b4368231ec507e4e28a Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 14 Jun 2020 15:10:41 +0300 Subject: [PATCH] whitespace --- .../TransactionRowHolder.java | 4 ++-- .../res/layout/account_summary_fragment.xml | 12 ++++++---- .../main/res/layout/transaction_list_row.xml | 24 ++++++++++++------- 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java index 93ff0edc..a39fb9fd 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java @@ -21,13 +21,13 @@ import android.view.View; import android.widget.LinearLayout; import android.widget.TextView; -import net.ktnx.mobileledger.R; - import androidx.annotation.NonNull; import androidx.cardview.widget.CardView; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.recyclerview.widget.RecyclerView; +import net.ktnx.mobileledger.R; + class TransactionRowHolder extends RecyclerView.ViewHolder { TextView tvDescription; TextView tvComment; diff --git a/app/src/main/res/layout/account_summary_fragment.xml b/app/src/main/res/layout/account_summary_fragment.xml index 449d4d2d..296b1c47 100644 --- a/app/src/main/res/layout/account_summary_fragment.xml +++ b/app/src/main/res/layout/account_summary_fragment.xml @@ -21,19 +21,22 @@ android:id="@+id/account_summary_frame" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context=".ui.account_summary.AccountSummaryFragment"> + tools:context=".ui.account_summary.AccountSummaryFragment" + > + tools:context=".ui.activity.MainActivity" + > + android:layout_height="match_parent" + > + android:scrollbars="vertical" + > diff --git a/app/src/main/res/layout/transaction_list_row.xml b/app/src/main/res/layout/transaction_list_row.xml index e2d00132..6cfe719d 100644 --- a/app/src/main/res/layout/transaction_list_row.xml +++ b/app/src/main/res/layout/transaction_list_row.xml @@ -20,9 +20,10 @@ + android:layout_height="wrap_content" + android:measureAllChildren="false" + > + android:padding="8dp" + > + app:layout_constraintTop_toTopOf="parent" + > - - + + @@ -101,7 +104,8 @@ android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginTop="16dp" - android:layout_marginEnd="8dp"> + android:layout_marginEnd="8dp" + > + tools:ignore="HardcodedText" + /> + tools:ignore="HardcodedText" + />