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 as published by
 
   9   the Free Software Foundation, either version 
2 of the License, or
 
  10   (at your option) any later version.
 
  12   This program is distributed in the hope that it will be useful,
 
  13   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
  14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
  15   GNU General Public License for more details.
 
  17   You should have received a copy of the GNU General Public License
 
  18   along with this program.  If not, see 
<http://www.gnu.org/licenses
/>.
 
  23      ScrollView xmlns:
android=
"http://schemas.android.com/apk/res/android" 
  24     android:
id=
"@+id/fdScrollView" 
  25     android:
layout_width=
"fill_parent" 
  26     android:
layout_height=
"fill_parent" 
  27     android:
background=
"@color/owncloud_white"  
  28     android:
gravity=
"center_horizontal" 
  31 <RelativeLayout xmlns:
android=
"http://schemas.android.com/apk/res/android" 
  32     xmlns:
tools=
"http://schemas.android.com/tools" 
  34     android:
layout_width=
"fill_parent" 
  35     android:
layout_height=
"fill_parent" 
  36     android:
background=
"@color/owncloud_white" 
  37     tools:
context=
".ui.fragment.PreviewImageFragment" > 
  40         android:
id=
"@+id/progressWheel" 
  41         android:
layout_width=
"wrap_content" 
  42         android:
layout_height=
"wrap_content" 
  43         android:
indeterminate=
"true" 
  44         android:
indeterminateOnly=
"true" 
  45         android:
layout_centerInParent=
"true" 
  49         android:
id=
"@+id/image" 
  50         android:
layout_width=
"wrap_content" 
  51         android:
layout_height=
"wrap_content" 
  52         android:
layout_margin=
"0dp" 
  53         android:
layout_centerInParent=
"true" 
  54         android:
contentDescription=
"@string/preview_image_description" 
  55         android:
src=
"@drawable/image_fail" /> 
  58         android:
id=
"@+id/message" 
  59         android:
layout_width=
"wrap_content" 
  60         android:
layout_height=
"wrap_content" 
  61         android:
layout_centerHorizontal=
"true" 
  62         android:
layout_below=
"@id/image" 
  63         android:
layout_margin=
"40dp" 
  64         android:
text=
"@string/placeholder_sentence"