From ff971ee492dc7555cfa2cffdec44ccb41a3eba83 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Thu, 25 Jan 2018 14:27:30 -0600 Subject: [PATCH] Improved ReceiveTransactionFragment using SquaredImageView and ScrollView --- .../activities/IntroActivity.java | 4 +- .../main/res/layout/receive_transaction.xml | 275 +++++++++--------- 2 files changed, 142 insertions(+), 137 deletions(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/activities/IntroActivity.java b/app/src/main/java/cy/agorise/crystalwallet/activities/IntroActivity.java index 92414b0..42d53d2 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/activities/IntroActivity.java +++ b/app/src/main/java/cy/agorise/crystalwallet/activities/IntroActivity.java @@ -54,7 +54,7 @@ public class IntroActivity extends AppCompatActivity { //Checks if the user has any seed created AccountSeedListViewModel accountSeedListViewModel = ViewModelProviders.of(this).get(AccountSeedListViewModel.class); - /*if (accountSeedListViewModel.accountSeedsCount() == 0){ + if (accountSeedListViewModel.accountSeedsCount() == 0){ //If the user doesn't have any seeds created, then //send the user to create/import an account //Intent intent = new Intent(this, AccountSeedsManagementActivity.class); @@ -65,7 +65,7 @@ public class IntroActivity extends AppCompatActivity { //Intent intent = new Intent(this, CreateSeedActivity.class); Intent intent = new Intent(this, BoardActivity.class); startActivity(intent); - }*/ + } /*CrystalDatabase db = CrystalDatabase.getAppDatabase(getApplicationContext()); List seeds = RandomSeedGenerator.generateSeeds(2); diff --git a/app/src/main/res/layout/receive_transaction.xml b/app/src/main/res/layout/receive_transaction.xml index ddcc678..5be59dc 100644 --- a/app/src/main/res/layout/receive_transaction.xml +++ b/app/src/main/res/layout/receive_transaction.xml @@ -1,154 +1,159 @@ - + android:layout_height="match_parent"> - - - + android:paddingBottom="24dp"> - + - + - + - + - + - + - + - + - + - + - + - \ No newline at end of file + + + + + + + \ No newline at end of file