From 37f99f3d14164cde5f5b6ac74d11a083c4793f06 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Mon, 25 Nov 2019 22:58:18 +0200 Subject: [PATCH] NT: plain LinearLayout is good enough here --- .../mobileledger/ui/activity/NewTransactionItemHolder.java | 3 +-- app/src/main/res/layout/new_transaction_row.xml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 507055ff..fc175606 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 @@ -30,7 +30,6 @@ import android.widget.LinearLayout; import android.widget.TextView; import androidx.annotation.NonNull; -import androidx.appcompat.widget.LinearLayoutCompat; import androidx.lifecycle.Observer; import androidx.recyclerview.widget.RecyclerView; @@ -59,7 +58,7 @@ class NewTransactionItemHolder extends RecyclerView.ViewHolder private AutoCompleteTextView tvDescription; private AutoCompleteTextView tvAccount; private TextView tvAmount; - private LinearLayoutCompat lHead; + private LinearLayout lHead; private LinearLayout lAccount; private FrameLayout lPadding; private MobileLedgerProfile mProfile; diff --git a/app/src/main/res/layout/new_transaction_row.xml b/app/src/main/res/layout/new_transaction_row.xml index da1d70ca..ad180a59 100644 --- a/app/src/main/res/layout/new_transaction_row.xml +++ b/app/src/main/res/layout/new_transaction_row.xml @@ -23,7 +23,7 @@ android:animateLayoutChanges="false" android:orientation="vertical"> - @@ -73,7 +73,7 @@ app:layout_constraintHorizontal_weight="30" app:layout_constraintStart_toEndOf="@+id/new_transaction_date" app:layout_constraintTop_toTopOf="parent" /> - +