From df4148e4f3dbfeb798455e33b96838c386ab6797 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 6 Dec 2018 18:01:38 +0000 Subject: [PATCH] use clip-art check icon, and show it as soon as the submit completes --- .../java/net/ktnx/mobileledger/NewTransactionActivity.java | 2 +- app/src/main/res/drawable/ic_check_white_24dp.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ic_check_white_24dp.xml 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 @@ + + + -- 2.39.5