]> git.ktnx.net Git - mobile-ledger.git/commitdiff
replace a redundant linear layout with a simple view
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 16:18:24 +0000 (19:18 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 16:18:24 +0000 (19:18 +0300)
app/src/main/res/layout/transaction_list_row.xml

index 0e59507d460fe9423953eb20c6a6473c9c86ff95..ca1c0fa076fd737c29fa56036afbd160549ac23f 100644 (file)
 
             </LinearLayout>
 
-            <LinearLayout
+            <View
                 android:id="@+id/transaction_row_header_border"
                 android:layout_width="match_parent"
-                android:layout_height="wrap_content"
+                android:layout_height="2dp"
                 android:alpha="0.3"
                 android:background="@drawable/dashed_border_1dp"
-                android:minHeight="2dp"
-                android:orientation="horizontal"
+                android:height="2dp"
                 app:layout_constraintEnd_toEndOf="parent"
                 app:layout_constraintStart_toStartOf="parent"
                 app:layout_constraintTop_toBottomOf="@+id/transaction_row_head" />