X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2FAccountSummary.java;h=7b4d25795e3bce580b013fc90e745fa5d09648d1;hb=8e24dd3a38309a01b5cfb08eb72f8a0f046d4121;hp=2b05c1b3b2559435208dc6455c4db3b1d4b6e67a;hpb=d54573f51530baacd9567a8aa2894a57f170f5e8;p=mobile-ledger.git diff --git a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java index 2b05c1b3..7b4d2579 100644 --- a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java +++ b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java @@ -75,9 +75,19 @@ public class AccountSummary extends AppCompatActivity { update_accounts(false); } + @Override + protected void onStart() { + super.onStart(); + LinearLayout grp = drawer.findViewById(R.id.nav_actions); + for (int i = 0; i < grp.getChildCount(); i++) + grp.getChildAt(i).setBackgroundColor(getResources().getColor(R.color.drawer_background, getTheme())); + drawer.findViewById(R.id.nav_account_summary).setBackgroundColor(getResources().getColor(R.color.table_row_even_bg, getTheme())); + } + public void fab_new_transaction_clicked(View view) { Intent intent = new Intent(this, NewTransactionActivity.class); startActivity(intent); + overridePendingTransition(R.anim.slide_in_right, R.anim.dummy); } public void nav_exit_clicked(View view) {