diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt
index 0bb762c..bf402da 100644
--- a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt
+++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt
@@ -17,6 +17,8 @@ import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
+import com.afollestad.materialdialogs.MaterialDialog
+import com.afollestad.materialdialogs.customview.customView
import com.google.common.primitives.UnsignedLong
import com.google.zxing.BarcodeFormat
import com.google.zxing.Result
@@ -453,7 +455,10 @@ class SendTransactionFragment : Fragment(), ZXingScannerView.ResultHandler, Serv
override fun onOptionsItemSelected(item: MenuItem?): Boolean {
if (item?.itemId == R.id.menu_info) {
- context?.toast("Info")
+ MaterialDialog(context!!).show {
+ customView(R.layout.dialog_send_transaction_info, scrollable = true)
+ positiveButton(android.R.string.ok) { dismiss() }
+ }
return true
}
return super.onOptionsItemSelected(item)
diff --git a/app/src/main/res/layout/dialog_send_transaction_info.xml b/app/src/main/res/layout/dialog_send_transaction_info.xml
new file mode 100644
index 0000000..09e76e2
--- /dev/null
+++ b/app/src/main/res/layout/dialog_send_transaction_info.xml
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 00959f1..efbb6e1 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -51,6 +51,28 @@
Transaction sent!
Unable to send transaction
+
+ Type in the Bitshares account name of the person you want to send funds
+ to.\nFor example: agorise-faucet
+
+ Asset Balance
+ You can tap on the balance displayed to send all of that asset. Doing
+ so will fill in the Amount field for you.
+
+ Entering a Memo is not required, but taking notes on why you sent the funds is
+ nice for future reference. Memos are only visible to you and the person whom you sent funds to.
+
+ Network Fee
+ The Network fee is included in the amount that you want to send. For
+ example, if you want to send 50 BTS, BiTSy will actually send ~50.21 BTS. The added 0.21 in this example is the
+ Bitshares transaction fee plus 0.01% to the BiTSy Developer Team (typically ~1 cent).
+
+ QR Code
+ You do not need to scan someone’s QR to send funds, but it does help you to
+ avoid mistakes. Once you send funds from your account, they are gone forever, so always make sure the account
+ name in the “To” field is correct.
+
+
Asset
Other…