|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 android:layout_width="fill_parent" |
|
8 android:layout_height="fill_parent" |
|
9 android:orientation="vertical" |
|
10 android:paddingLeft="5dp"> |
|
11 |
|
12 <LinearLayout android:layout_width="fill_parent" |
|
13 android:layout_height="wrap_content" |
|
14 android:orientation="horizontal"> |
|
15 |
|
16 <ImageView android:id="@+id/notification_image" |
|
17 android:layout_width="25dp" |
|
18 android:layout_height="25dp" |
|
19 android:scaleType="fitCenter"/> |
|
20 |
|
21 <TextView android:id="@+id/notification_title" |
|
22 android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title" |
|
23 android:layout_width="fill_parent" |
|
24 android:layout_height="wrap_content" |
|
25 android:layout_weight="1" |
|
26 android:singleLine="true" |
|
27 android:ellipsize="marquee" |
|
28 android:fadingEdge="horizontal" |
|
29 android:paddingLeft="4dp"/> |
|
30 |
|
31 </LinearLayout> |
|
32 |
|
33 <ProgressBar android:id="@+id/notification_progressbar" |
|
34 style="?android:attr/progressBarStyleHorizontal" |
|
35 android:layout_width="fill_parent" |
|
36 android:layout_height="16dip" |
|
37 android:layout_marginTop="1dip" |
|
38 android:layout_marginBottom="1dip" |
|
39 android:layout_marginLeft="10dip" |
|
40 android:layout_marginRight="10dip" |
|
41 android:layout_centerHorizontal="true" /> |
|
42 |
|
43 <TextView android:id="@+id/notification_text" |
|
44 android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" |
|
45 android:layout_width="fill_parent" |
|
46 android:layout_height="wrap_content" |
|
47 android:paddingLeft="4dp"/> |
|
48 |
|
49 </LinearLayout> |