1 <?xml version=
"1.0" encoding=
"utf-8"?> 
   2 <!--  ownCloud webDAV Library for Android is available under MIT license
 
   3    Copyright (C) 
2014 ownCloud (http://www.owncloud.org/)
 
   5    Permission is hereby granted, free of charge, to any person obtaining a copy
 
   6    of this software and associated documentation files (the 
"Software"), to deal
 
   7    in the Software without restriction, including without limitation the rights
 
   8    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 
   9    copies of the Software, and to permit persons to whom the Software is
 
  10    furnished to do so, subject to the following conditions:
 
  12    The above copyright notice and this permission notice shall be included in
 
  13    all copies or substantial portions of the Software.
 
  15    THE SOFTWARE IS PROVIDED 
"AS IS", WITHOUT WARRANTY OF ANY KIND, 
 
  16    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
  17    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
 
  18    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 
 
  19    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
 
  20    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 
  21    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 
  26 <RelativeLayout xmlns:
android=
"http://schemas.android.com/apk/res/android" 
  27     android:
layout_width=
"match_parent" 
  28     android:
layout_height=
"match_parent" 
  32         android:
id=
"@+id/button_refresh" 
  33         style=
"@style/ButtonStyle" 
  34         android:
layout_alignParentLeft=
"true" 
  35         android:
layout_alignParentTop=
"true" 
  36         android:
text=
"@string/refresh" 
  37         android:
onClick=
"onClickHandler"  
  41         android:
id=
"@+id/list_view" 
  42         android:
layout_width=
"match_parent" 
  43         android:
layout_height=
"wrap_content" 
  44                 android:
layout_below=
"@+id/button_refresh"  
  45         android:
layout_above=
"@+id/button_upload" 
  46         android:
layout_alignParentLeft=
"true" 
  47         android:
layout_alignParentRight=
"true" 
  52         android:
id=
"@+id/button_upload" 
  53         style=
"@style/ButtonStyle" 
  54         android:
layout_alignParentLeft=
"true" 
  55         android:
layout_above=
"@+id/frame" 
  56         android:
text=
"@string/upload" 
  57         android:
onClick=
"onClickHandler"  
  61         android:
id=
"@+id/upload_progress" 
  62         style=
"@style/ProgressStyle" 
  63         android:
layout_below=
"@id/list_view" 
  64         android:
layout_above=
"@id/frame" 
  65         android:
layout_toRightOf=
"@id/button_upload" 
  66         android:
layout_toLeftOf=
"@+id/button_delete_remote" 
  67         android:
gravity=
"center" 
  68         android:
textSize=
"14sp" 
  73         android:
id=
"@id/button_delete_remote" 
  74         style=
"@style/ButtonStyle" 
  75         android:
layout_alignParentRight=
"true" 
  76         android:
layout_above=
"@id/frame" 
  77         android:
text=
"@string/delete_remote_file"  
  78         android:
onClick=
"onClickHandler"  
  82         android:
id=
"@id/frame" 
  83         android:
layout_width=
"match_parent" 
  84         android:
layout_height=
"@dimen/frame_height" 
  85         android:
layout_alignParentLeft=
"true" 
  86         android:
layout_alignParentRight=
"true" 
  87         android:
layout_above=
"@+id/button_download" 
  92         android:
id=
"@id/button_download" 
  93         style=
"@style/ButtonStyle" 
  94         android:
layout_alignParentBottom=
"true" 
  95         android:
layout_alignParentLeft=
"true" 
  96         android:
text=
"@string/download"  
  97         android:
onClick=
"onClickHandler"  
 101         android:
id=
"@+id/download_progress" 
 102         style=
"@style/ProgressStyle" 
 103         android:
layout_below=
"@id/frame" 
 104         android:
layout_alignParentBottom=
"true" 
 105         android:
layout_toRightOf=
"@id/button_download" 
 106         android:
layout_toLeftOf=
"@+id/button_delete_local" 
 107         android:
gravity=
"center" 
 108         android:
textSize=
"14sp" 
 113         android:
id=
"@id/button_delete_local" 
 114         style=
"@style/ButtonStyle" 
 115         android:
layout_alignParentBottom=
"true" 
 116         android:
layout_alignParentRight=
"true" 
 117         android:
text=
"@string/delete_local_file"  
 118         android:
onClick=
"onClickHandler"