From: Damyan Ivanov Date: Thu, 6 Dec 2018 18:01:38 +0000 (+0000) Subject: use clip-art check icon, and show it as soon as the submit completes X-Git-Tag: v0.3~332 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=df4148e4f3dbfeb798455e33b96838c386ab6797;p=mobile-ledger.git use clip-art check icon, and show it as soon as the submit completes --- diff --git a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java index b229c0ff..6709b7d9 100644 --- a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java @@ -225,6 +225,7 @@ public class NewTransactionActivity extends AppCompatActivity implements TaskCal @Override public void done() { + fab.setImageResource(R.drawable.ic_check_white_24dp); fab.setEnabled(true); AnimatorSet set = (AnimatorSet) AnimatorInflater.loadAnimator(this, R.animator.new_trans_animation); @@ -234,7 +235,6 @@ public class NewTransactionActivity extends AppCompatActivity implements TaskCal at_fade_out.postDelayed(new Runnable() { @Override public void run() { - fab.setImageResource(R.drawable.ic_thick_check_white); final Handler at_fade_in = new Handler(); at_fade_in.postDelayed(new Runnable() { diff --git a/app/src/main/res/drawable/ic_check_white_24dp.xml b/app/src/main/res/drawable/ic_check_white_24dp.xml new file mode 100644 index 00000000..ccd8bbee --- /dev/null +++ b/app/src/main/res/drawable/ic_check_white_24dp.xml @@ -0,0 +1,5 @@ + + +