From 2ada53c99b44e548615dfb9d2456f4e2f1930414 Mon Sep 17 00:00:00 2001 From: jabarros Date: Thu, 4 Sep 2014 09:06:14 +0200 Subject: [PATCH] Enable log into text file automatically when BuildConfig.DEBUG is true. Open log activity when user clicks on action bar menu option. Add button to send email with log file attached. --- res/layout/log_send_file.xml | 72 ++++++----- res/menu/main_menu.xml | 6 + res/values/setup.xml | 2 + res/values/strings.xml | 4 + src/com/owncloud/android/MainApp.java | 14 ++- .../android/ui/activity/FileDisplayActivity.java | 16 +++ .../android/ui/activity/LogHistoryActivity.java | 140 +++++++++++++++------ src/com/owncloud/android/utils/Log_OC.java | 6 +- 8 files changed, 184 insertions(+), 76 deletions(-) diff --git a/res/layout/log_send_file.xml b/res/layout/log_send_file.xml index 22e744b2..6e6e00fc 100644 --- a/res/layout/log_send_file.xml +++ b/res/layout/log_send_file.xml @@ -1,35 +1,43 @@ - - + - + - - - -