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=
"centerInside"
36 <TextView android:
id=
"@+id/title"
37 android:
layout_width=
"0dp"
38 android:
layout_height=
"wrap_content"
39 android:
layout_weight=
"1"
40 android:
singleLine=
"true"
41 android:
ellipsize=
"marquee"
42 android:
fadingEdge=
"horizontal"
43 android:
paddingLeft=
"4dp"
44 style=
"@style/Theme.ownCloud.NotificationText.Title"
47 <TextView android:
id=
"@+id/text"
48 android:
layout_width=
"match_parent"
49 android:
layout_height=
"wrap_content"
50 android:
singleLine=
"true"
51 android:
ellipsize=
"marquee"
52 android:
fadingEdge=
"horizontal"
53 style=
"@style/Theme.ownCloud.NotificationText.Content"
55 <FrameLayout android:
id=
"@+id/progressHolder"
56 android:
layout_width=
"match_parent"
57 android:
layout_height=
"10dp"
58 android:
paddingTop=
"2dp"
59 android:
paddingBottom=
"2dp"
61 <!-- the FrameLayout is needed to change visibility of the
62 progress bar in Android
2.2, even though
63 https://code.google.com/p/android/issues/detail?id=
11040 --
>
65 android:
id=
"@+id/progress"
66 android:
layout_width=
"match_parent"
67 android:
layout_height=
"match_parent"
68 style=
"?android:attr/progressBarStyleHorizontal"