]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/content_account_summary.xml
center vertically the text in the account row
[mobile-ledger.git] / app / src / main / res / layout / content_account_summary.xml
index cde4d6a547362be03f22fbfd7bc4fa29d80e189e..30a1d60f23b0b0c5d532c7ae040b9a9adbd065aa 100644 (file)
@@ -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">
 
                 <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:gravity="center"
+                    android:paddingStart="@dimen/activity_horizontal_margin"
+                    android:paddingEnd="@dimen/activity_horizontal_margin">
 
                     <TextView
                         android:id="@+id/textView"
@@ -63,7 +64,7 @@
                     <TextView
                         android:id="@+id/textView2"
                         style="@style/account_summary_amounts"
-                        android:text="123.45" />
+                        android:text="123,45\n678,90" />
                 </TableRow>
 
             </TableLayout>