]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/content_account_summary.xml
accounts summary: pad the row, not the table
[mobile-ledger.git] / app / src / main / res / layout / content_account_summary.xml
index 89114417cafa253d98b87b3510c8265df2bd3e4e..958cf4c9c3537a2857a0dbbe13333c1f839af1a1 100644 (file)
@@ -7,7 +7,7 @@
     android:layout_height="match_parent"
     app:layout_behavior="@string/appbar_scrolling_view_behavior"
     tools:context=".AccountSummary"
-    tools:showIn="@layout/app_bar_latest_transactions">
+    tools:showIn="@layout/app_bar_account_summary">
 
     <TextView
         android:id="@+id/textProgress"
@@ -37,8 +37,6 @@
         android:id="@+id/account_root_scroller"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:paddingStart="@dimen/activity_horizontal_margin"
-        android:paddingEnd="@dimen/activity_horizontal_margin"
         app:layout_constraintBottom_toTopOf="@+id/textProgress"
         app:layout_constraintTop_toTopOf="parent">
 
@@ -53,7 +51,9 @@
                 <TableRow
                     android:layout_width="match_parent"
                     android:layout_height="match_parent"
-                    android:background="@color/table_row_even_bg">
+                    android:background="@color/table_row_even_bg"
+                    android:paddingStart="@dimen/activity_horizontal_margin"
+                    android:paddingEnd="@dimen/activity_horizontal_margin">
 
                     <TextView
                         android:id="@+id/textView"