From 72109d1c4cdb27f02236cc4650de456927bad911 Mon Sep 17 00:00:00 2001 From: Konrad Renner Date: Fri, 17 Jul 2015 12:19:31 +0200 Subject: [PATCH] implemented sharing via android share provider --- app/src/main/AndroidManifest.xml | 13 +++- .../kolabnotes/android/DetailActivity.java | 8 ++- .../android/fragment/DetailFragment.java | 66 ++++++++++++++++--- app/src/main/res/menu/detail_toolbar.xml | 4 +- app/src/main/res/values-de/strings.xml | 2 + app/src/main/res/values/strings.xml | 2 + 6 files changed, 82 insertions(+), 13 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3b3a8aa..db1f750 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -29,7 +29,18 @@ + android:label="@string/app_name" > + + + + + + + + + + + - + app:actionProviderClass="android.support.v7.widget.ShareActionProvider"/> Notizbuch löschen Kein Notizbuch ausgewählt Das Notizbuch und alle sein Notizen werden gelöscht, sind Sie sicher? + Noitz teilen mit... + Leere Notiz kann nicht geteilt werden diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 64f9996..873f783 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -93,4 +93,6 @@ Note saved Synchronisation failed Delete notebook + Share note with... + Note is empty