From bfb51aa744b09b248daacd3ada8f04e6c6f7d5a5 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 11 May 2012 00:46:33 +0200 Subject: Rework FIle selection dialog. Include possibility to include file content in VPN Profile. Allows safer storage of Certifcates and keys. (closes issue #13) --HG-- rename : src/com/lamerman/FileDialog.java => src/de/blinkt/openvpn/FileSelectionFragment.java --- res/layout/file_dialog.xml | 13 +++++ res/layout/file_dialog_inline.xml | 22 +++++++ res/layout/file_dialog_main.xml | 117 +++++++++++++++++--------------------- res/values/strings.xml | 8 ++- 4 files changed, 94 insertions(+), 66 deletions(-) create mode 100644 res/layout/file_dialog.xml create mode 100644 res/layout/file_dialog_inline.xml (limited to 'res') diff --git a/res/layout/file_dialog.xml b/res/layout/file_dialog.xml new file mode 100644 index 00000000..8e07ce31 --- /dev/null +++ b/res/layout/file_dialog.xml @@ -0,0 +1,13 @@ + + + + + + + \ No newline at end of file diff --git a/res/layout/file_dialog_inline.xml b/res/layout/file_dialog_inline.xml new file mode 100644 index 00000000..61e39134 --- /dev/null +++ b/res/layout/file_dialog_inline.xml @@ -0,0 +1,22 @@ + + + + + + + \ No newline at end of file diff --git a/res/layout/file_dialog_main.xml b/res/layout/file_dialog_main.xml index c803522c..2f88ffb7 100644 --- a/res/layout/file_dialog_main.xml +++ b/res/layout/file_dialog_main.xml @@ -1,66 +1,53 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 9073c0be..2b7c82f0 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -188,5 +188,11 @@ Encryption Enter Encryption method Enter the cipher key for openvpn. Leave empty to use default cipher - Authentication/Encryption + Authentication/Encryption + File Explorer + Inline File + Import + Error importing File + Could not import File from Filesystem + [[Inline file data]] -- cgit v1.2.3