]> git.ktnx.net Git - mobile-ledger.git/commitdiff
NT: plain LinearLayout is good enough here
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Nov 2019 20:58:18 +0000 (22:58 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Nov 2019 20:58:18 +0000 (22:58 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java
app/src/main/res/layout/new_transaction_row.xml

index 507055ff0eda9eac0dcc9e74d824a06c3db2d8cd..fc17560614e9d85e8e72a30ce8d9cc59c678d861 100644 (file)
@@ -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;
index da1d70cafd1a87b3689dbe9dc8534c6c9ccbaa5a..ad180a59cd2f3a4086bdc2c9a0d12b1fe82d8738 100644 (file)
@@ -23,7 +23,7 @@
     android:animateLayoutChanges="false"
     android:orientation="vertical">
 
-    <androidx.appcompat.widget.LinearLayoutCompat
+    <LinearLayout
         android:id="@+id/ntr_data"
         android:layout_width="match_parent"
         android:layout_height="wrap_content">
@@ -73,7 +73,7 @@
             app:layout_constraintHorizontal_weight="30"
             app:layout_constraintStart_toEndOf="@+id/new_transaction_date"
             app:layout_constraintTop_toTopOf="parent" />
-    </androidx.appcompat.widget.LinearLayoutCompat>
+    </LinearLayout>
 
     <LinearLayout
         android:id="@+id/ntr_account"