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" 
  30 <RelativeLayout xmlns:
android=
"http://schemas.android.com/apk/res/android" 
  31     xmlns:
tools=
"http://schemas.android.com/tools" 
  33     android:
layout_width=
"fill_parent" 
  34     android:
layout_height=
"fill_parent" 
  35     android:
background=
"@color/background_color" 
  36     tools:
context=
".ui.fragment.PreviewImageFragment" > 
  39         android:
id=
"@+id/progressWheel" 
  40         android:
layout_width=
"wrap_content" 
  41         android:
layout_height=
"wrap_content" 
  42         android:
indeterminate=
"true" 
  43         android:
indeterminateOnly=
"true" 
  44         android:
layout_centerInParent=
"true" 
  48         android:
id=
"@+id/image" 
  49         android:
layout_width=
"wrap_content" 
  50         android:
layout_height=
"wrap_content" 
  51         android:
layout_margin=
"0dp" 
  52         android:
layout_centerInParent=
"true" 
  53         android:
contentDescription=
"@string/preview_image_description" 
  54         android:
src=
"@drawable/image_fail" /> 
  57         android:
id=
"@+id/message" 
  58         android:
layout_width=
"wrap_content" 
  59         android:
layout_height=
"wrap_content" 
  60         android:
layout_centerHorizontal=
"true" 
  61         android:
layout_below=
"@id/image" 
  62         android:
layout_margin=
"40dp" 
  63         android:
text=
"@string/placeholder_sentence"