diff --git a/app/src/main/java/cy/agorise/crystalwallet/activities/SettingsActivity.java b/app/src/main/java/cy/agorise/crystalwallet/activities/SettingsActivity.java
index 54c7368..e90f86e 100644
--- a/app/src/main/java/cy/agorise/crystalwallet/activities/SettingsActivity.java
+++ b/app/src/main/java/cy/agorise/crystalwallet/activities/SettingsActivity.java
@@ -17,6 +17,7 @@ import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import cy.agorise.crystalwallet.R;
+import cy.agorise.crystalwallet.fragments.BackupsSettingsFragment;
import cy.agorise.crystalwallet.fragments.BalanceFragment;
import cy.agorise.crystalwallet.fragments.GeneralSettingsFragment;
@@ -88,12 +89,9 @@ public class SettingsActivity extends AppCompatActivity{
switch (position){
case 0:
return new GeneralSettingsFragment();
- /*case 1:
- return null;
- case 2:
- return null;*/
case 1:
case 2:
+ return new BackupsSettingsFragment();
case 3:
return new BalanceFragment();
}
diff --git a/app/src/main/java/cy/agorise/crystalwallet/fragments/BackupsSettingsFragment.java b/app/src/main/java/cy/agorise/crystalwallet/fragments/BackupsSettingsFragment.java
new file mode 100644
index 0000000..7d8349e
--- /dev/null
+++ b/app/src/main/java/cy/agorise/crystalwallet/fragments/BackupsSettingsFragment.java
@@ -0,0 +1,62 @@
+package cy.agorise.crystalwallet.fragments;
+
+import android.os.Bundle;
+import android.support.v4.app.Fragment;
+import android.text.Spannable;
+import android.text.SpannableStringBuilder;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.TextView;
+
+import butterknife.BindView;
+import butterknife.ButterKnife;
+import cy.agorise.crystalwallet.R;
+
+/**
+ * Created by xd on 1/11/18.
+ */
+
+public class BackupsSettingsFragment extends Fragment{
+ public BackupsSettingsFragment() {
+ // Required empty public constructor
+ }
+
+ public static BackupsSettingsFragment newInstance() {
+ BackupsSettingsFragment fragment = new BackupsSettingsFragment();
+ Bundle args = new Bundle();
+ fragment.setArguments(args);
+ return fragment;
+ }
+
+ @BindView(R.id.tvBinFile)
+ public TextView tvBinFile;
+
+ @BindView(R.id.tvBrainkey)
+ public TextView tvBrainkey;
+
+ @BindView(R.id.tvWIFKey)
+ public TextView tvWIFKey;
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ // Inflate the layout for this fragment
+ View v = inflater.inflate(R.layout.fragment_backups_settings, container, false);
+ ButterKnife.bind(this, v);
+
+ tvBinFile.setText(makeFirstWordsBold(getResources().getString(R.string.bin_file_description)));
+ tvBrainkey.setText(makeFirstWordsBold(getResources().getString(R.string.brainkey_description)));
+ tvWIFKey.setText(makeFirstWordsBold(getResources().getString(R.string.wif_key_description)));
+
+ return v;
+ }
+
+ private SpannableStringBuilder makeFirstWordsBold(String str) {
+ SpannableStringBuilder ssb = new SpannableStringBuilder(str);
+ ssb.setSpan(new android.text.style.StyleSpan(android.graphics.Typeface.BOLD),
+ 0, str.indexOf('.')+1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
+
+ return ssb;
+ }
+}
diff --git a/app/src/main/res/layout/fragment_backups_settings.xml b/app/src/main/res/layout/fragment_backups_settings.xml
new file mode 100644
index 0000000..569a63c
--- /dev/null
+++ b/app/src/main/res/layout/fragment_backups_settings.xml
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index dad7b53..fe57704 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -2,7 +2,7 @@
#0099d6
#0099d6
- #669900
+ #0099d6
#d3d3d3
#686767
#E3E3E3
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 84ccf5b..b663d75 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -473,4 +473,7 @@
Go back arrow
Settings
Info icon
+ Bin file. Always save your backup .bin file to a secret MicroSD card or USB Stick.
+ Brainkey. Account recovery words that can be captured or copied, but not edited.
+ WIF Key (Advanced). A long string of cryptic text that can be used with other Wallets.