diff --git a/app/src/main/java/amar/im/cryptoapp/MainActivity.java b/app/src/main/java/amar/im/cryptoapp/MainActivity.java
index 700bbf5..f605c4e 100755
--- a/app/src/main/java/amar/im/cryptoapp/MainActivity.java
+++ b/app/src/main/java/amar/im/cryptoapp/MainActivity.java
@@ -11,6 +11,7 @@
import android.widget.EditText;
import android.widget.RadioGroup;
import android.widget.TextView;
+import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
public static final String TAG = "CryptoTest";
@@ -87,7 +88,9 @@ public boolean onCreateOptionsMenu(Menu menu) {
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
-// case R.id.action_settings:
+ case R.id.action_settings:
+ showToast("Yet to be done!!");
+ return true;
case R.id.action_about:
// popup for some info
@@ -104,4 +107,10 @@ public boolean onOptionsItemSelected(MenuItem item) {
return super.onOptionsItemSelected(item);
}
+
+ private void showToast(String msg) {
+ if (!isFinishing() && null != this) {
+ Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();
+ }
+ }
}
diff --git a/app/src/main/res/layout/dialog_layout.xml b/app/src/main/res/layout/dialog_layout.xml
new file mode 100644
index 0000000..5806379
--- /dev/null
+++ b/app/src/main/res/layout/dialog_layout.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
\ 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 568fe69..7e34ebd 100755
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -2,4 +2,8 @@
Simple CryptoOutput is shown below: Settings
+ A simple crypto app that just uses Base64 encoding and AES to demonstrate encryption
+ and decryption using a key.\n\n\nIt\'s essentially a work not in progress. The code can be found below:
+ \n\n\ngithub.com/amarendra/CryptoApp\n\n\n
+ Use this app in any way way you want. There are no restrictions.