From 7cc88a22d183a5bc82ddbd30945789d58e0a753b Mon Sep 17 00:00:00 2001 From: Jorge Antonio Diaz-Benito Soriano Date: Fri, 17 Oct 2014 16:29:38 +0200 Subject: [PATCH] Added text file preview --- res/layout/file_preview.xml | 66 +- res/layout/text_file_preview.xml | 29 + .../owncloud/android/datamodel/OCFile.java | 11 +- .../ui/activity/FileDisplayActivity.java | 751 +++++++++--------- .../ui/fragment/OCFileListFragment.java | 6 +- .../ui/preview/PreviewTextFragment.java | 341 ++++++++ 6 files changed, 809 insertions(+), 395 deletions(-) create mode 100644 res/layout/text_file_preview.xml create mode 100644 src/com/owncloud/android/ui/preview/PreviewTextFragment.java diff --git a/res/layout/file_preview.xml b/res/layout/file_preview.xml index 483a3691b1..0da5363461 100644 --- a/res/layout/file_preview.xml +++ b/res/layout/file_preview.xml @@ -1,5 +1,4 @@ - -