|
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 <TextView android:id="@+id/notification_text" |
|
34 android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" |
|
35 android:layout_width="fill_parent" |
|
36 android:layout_height="wrap_content" |
|
37 android:paddingLeft="4dp"/> |
|
38 |
|
39 </LinearLayout> |