]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/AccountSummary.java
accounts summary: pad the row, not the table
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / AccountSummary.java
index a516722fde74061b790a5070d5bfa2a24ad8456b..8593430010bca00f3e51ae3c01cc5a244a6c8f3f 100644 (file)
@@ -204,6 +204,7 @@ public class AccountSummary extends AppCompatActivity {
                 TableLayout t = new TableLayout(this);
                 TableRow r = new TableRow(this);
                 r.setLayoutParams(new TableRow.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
+                r.setPadding(getResources().getDimensionPixelSize(R.dimen.activity_horizontal_margin), dp2px(4), getResources().getDimensionPixelSize(R.dimen.activity_horizontal_margin), dp2px(4));
                 if (even)
                     r.setBackgroundColor(getResources().getColor(R.color.table_row_even_bg, getTheme()));
                 even = !even;