1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 ownCloud Android client application
4 Copyright (C)
2014 ownCloud Inc.
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version
2,
8 as published by the Free Software Foundation.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
18 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
19 android:
layout_width=
"match_parent"
20 android:
layout_height=
"match_parent"
21 android:
orientation=
"vertical"
22 android:
paddingTop=
"5dp"
23 android:
paddingLeft=
"5dp"
26 android:
layout_width=
"match_parent"
27 android:
layout_height=
"wrap_content"
28 android:
orientation=
"horizontal"
29 android:
paddingTop=
"3dp"
31 <ImageView android:
id=
"@+id/icon"
32 android:
layout_width=
"25dp"
33 android:
layout_height=
"25dp"
34 android:
scaleType=
"fitCenter"
35 android:
background=
"@android:drawable/status_bar_item_app_background"
37 <TextView android:
id=
"@+id/title"
38 android:
layout_width=
"0dp"
39 android:
layout_height=
"wrap_content"
40 android:
layout_weight=
"1"
41 android:
singleLine=
"true"
42 android:
ellipsize=
"marquee"
43 android:
fadingEdge=
"horizontal"
44 android:
paddingLeft=
"4dp"
45 android:
textSize=
"18sp"
46 android:
textStyle=
"bold"
47 android:
textColor=
"?android:attr/textColorPrimaryInverse"
50 <TextView android:
id=
"@+id/text"
51 android:
layout_width=
"match_parent"
52 android:
layout_height=
"wrap_content"
53 android:
singleLine=
"true"
54 android:
ellipsize=
"marquee"
55 android:
fadingEdge=
"horizontal"
56 android:
textColor=
"?android:attr/textColorPrimaryInverse"
58 <FrameLayout android:
id=
"@+id/progressHolder"
59 android:
layout_width=
"match_parent"
60 android:
layout_height=
"10dp"
61 android:
paddingTop=
"2dp"
62 android:
paddingBottom=
"2dp"
64 <!-- the FrameLayout is needed to change visibility of the
65 progress bar in Android
2.2, even though
66 https://code.google.com/p/android/issues/detail?id=
11040 --
>
68 android:
id=
"@+id/progress"
69 android:
layout_width=
"match_parent"
70 android:
layout_height=
"match_parent"
71 style=
"?android:attr/progressBarStyleHorizontal"