1 <?xml version=
"1.0" encoding=
"utf-8"?> 
   3   ownCloud Android client application
 
   5   Copyright (C) 
2012-
2013  ownCloud Inc.
 
   7   This program is free software: you can redistribute it and/or modify
 
   8   it under the terms of the GNU General Public License version 
2,
 
   9   as published by the Free Software Foundation.
 
  11   This program is distributed in the hope that it will be useful,
 
  12   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
  13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
  14   GNU General Public License for more details.
 
  16   You should have received a copy of the GNU General Public License
 
  17   along with this program.  If not, see 
<http://www.gnu.org/licenses
/>.
 
  22      ScrollView xmlns:
android=
"http://schemas.android.com/apk/res/android" 
  23     android:
id=
"@+id/fdScrollView" 
  24     android:
layout_width=
"fill_parent" 
  25     android:
layout_height=
"fill_parent" 
  26     android:
background=
"@color/background_color"  
  27     android:
gravity=
"center_horizontal" 
  29 <RelativeLayout xmlns:
android=
"http://schemas.android.com/apk/res/android" 
  30     xmlns:
tools=
"http://schemas.android.com/tools" 
  32     android:
layout_width=
"fill_parent" 
  33     android:
layout_height=
"fill_parent" 
  34     android:
background=
"#000000" 
  35     tools:
context=
".ui.fragment.PreviewImageFragment" > 
  38         android:
id=
"@+id/progressWheel" 
  39         android:
layout_width=
"wrap_content" 
  40         android:
layout_height=
"wrap_content" 
  41         android:
indeterminate=
"true" 
  42         android:
indeterminateOnly=
"true" 
  43         android:
layout_centerInParent=
"true" 
  46     <com.owncloud.android.utils.TouchImageViewCustom
 
  47         android:
id=
"@+id/image" 
  48         android:
layout_width=
"match_parent" 
  49         android:
layout_height=
"match_parent" 
  50         android:
layout_margin=
"0dp" 
  51         android:
layout_centerInParent=
"true" 
  52         android:
contentDescription=
"@string/preview_image_description" 
  53         android:
src=
"@drawable/image_fail" /> 
  56         android:
id=
"@+id/message" 
  57         android:
layout_width=
"wrap_content" 
  58         android:
layout_height=
"wrap_content" 
  59         android:
layout_centerHorizontal=
"true" 
  60         android:
layout_below=
"@id/image" 
  61         android:
layout_margin=
"40dp" 
  62         android:
text=
"@string/placeholder_sentence"