From 346b8f828756d2ec42780d6386ff0e5309cf32ee Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 6 Mar 2016 16:00:20 +0100 Subject: [PATCH] allow saving the drawing on external storage --- app/src/main/AndroidManifest.xml | 2 + .../simplemobiletools/draw/MainActivity.java | 76 +++++++++++++++++++ .../com/simplemobiletools/draw/Utils.java | 10 +++ app/src/main/res/layout/save_file.xml | 33 ++++++++ app/src/main/res/menu/menu.xml | 5 ++ app/src/main/res/values/strings.xml | 5 ++ 6 files changed, 131 insertions(+) create mode 100644 app/src/main/java/com/simplemobiletools/draw/Utils.java create mode 100644 app/src/main/res/layout/save_file.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 47305ce..2e50692 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,6 +3,8 @@ package="com.simplemobiletools.draw" xmlns:android="http://schemas.android.com/apk/res/android"> + + + + + + + + + + + diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index 69a27ba..1705230 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -1,6 +1,11 @@ + Simple Draw Share via + Could not save the file + Image has been saved successfully + File name + Save file + Please enter a file name