| 23410 |
tejbeer |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<!--
|
|
|
3 |
~ Copyright (C) 2015 The Android Open Source Project
|
|
|
4 |
~
|
|
|
5 |
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
6 |
~ you may not use this file except in compliance with the License.
|
|
|
7 |
~ You may obtain a copy of the License at
|
|
|
8 |
~
|
|
|
9 |
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
10 |
~
|
|
|
11 |
~ Unless required by applicable law or agreed to in writing, software
|
|
|
12 |
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
13 |
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
14 |
~ See the License for the specific language governing permissions and
|
|
|
15 |
~ limitations under the License
|
|
|
16 |
-->
|
|
|
17 |
|
|
|
18 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
19 |
android:layout_width="wrap_content"
|
|
|
20 |
android:layout_height="wrap_content"
|
|
|
21 |
android:orientation="vertical"
|
|
|
22 |
android:paddingRight="8dp"
|
|
|
23 |
android:paddingEnd="8dp"
|
|
|
24 |
android:paddingTop="2dp"
|
|
|
25 |
android:paddingBottom="2dp"
|
|
|
26 |
>
|
|
|
27 |
<LinearLayout
|
|
|
28 |
android:id="@+id/line1"
|
|
|
29 |
android:layout_width="fill_parent"
|
|
|
30 |
android:layout_height="wrap_content"
|
|
|
31 |
android:paddingTop="6dp"
|
|
|
32 |
android:layout_marginLeft="8dp"
|
|
|
33 |
android:layout_marginStart="8dp"
|
|
|
34 |
android:orientation="horizontal"
|
|
|
35 |
>
|
|
|
36 |
<TextView android:id="@+id/title"
|
|
|
37 |
android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title"
|
|
|
38 |
android:layout_width="fill_parent"
|
|
|
39 |
android:layout_height="wrap_content"
|
|
|
40 |
android:singleLine="true"
|
|
|
41 |
android:ellipsize="marquee"
|
|
|
42 |
android:fadingEdge="horizontal"
|
|
|
43 |
android:layout_weight="1"
|
|
|
44 |
/>
|
|
|
45 |
<include
|
|
|
46 |
layout="@layout/notification_template_part_time"
|
|
|
47 |
android:id="@+id/time"
|
|
|
48 |
android:layout_width="wrap_content"
|
|
|
49 |
android:layout_height="wrap_content"
|
|
|
50 |
android:layout_gravity="center"
|
|
|
51 |
android:layout_weight="0"
|
|
|
52 |
android:visibility="gone"
|
|
|
53 |
/>
|
|
|
54 |
<include
|
|
|
55 |
layout="@layout/notification_template_part_chronometer"
|
|
|
56 |
android:id="@+id/chronometer"
|
|
|
57 |
android:layout_width="wrap_content"
|
|
|
58 |
android:layout_height="wrap_content"
|
|
|
59 |
android:layout_gravity="center"
|
|
|
60 |
android:layout_weight="0"
|
|
|
61 |
android:visibility="gone"
|
|
|
62 |
/>
|
|
|
63 |
</LinearLayout>
|
|
|
64 |
<TextView android:id="@+id/text2"
|
|
|
65 |
android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Line2"
|
|
|
66 |
android:layout_width="fill_parent"
|
|
|
67 |
android:layout_height="wrap_content"
|
|
|
68 |
android:layout_marginTop="-2dp"
|
|
|
69 |
android:layout_marginBottom="-2dp"
|
|
|
70 |
android:layout_marginLeft="8dp"
|
|
|
71 |
android:layout_marginStart="8dp"
|
|
|
72 |
android:singleLine="true"
|
|
|
73 |
android:fadingEdge="horizontal"
|
|
|
74 |
android:ellipsize="marquee"
|
|
|
75 |
android:visibility="gone"
|
|
|
76 |
/>
|
|
|
77 |
<LinearLayout
|
|
|
78 |
android:id="@+id/line3"
|
|
|
79 |
android:layout_width="fill_parent"
|
|
|
80 |
android:layout_height="wrap_content"
|
|
|
81 |
android:orientation="horizontal"
|
|
|
82 |
android:gravity="center_vertical"
|
|
|
83 |
android:layout_marginLeft="8dp"
|
|
|
84 |
android:layout_marginStart="8dp"
|
|
|
85 |
>
|
|
|
86 |
<TextView android:id="@+id/text"
|
|
|
87 |
android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
|
|
|
88 |
android:layout_width="0dp"
|
|
|
89 |
android:layout_height="wrap_content"
|
|
|
90 |
android:layout_weight="1"
|
|
|
91 |
android:layout_gravity="center"
|
|
|
92 |
android:singleLine="true"
|
|
|
93 |
android:ellipsize="marquee"
|
|
|
94 |
android:fadingEdge="horizontal"
|
|
|
95 |
/>
|
|
|
96 |
<TextView android:id="@+id/info"
|
|
|
97 |
android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Info"
|
|
|
98 |
android:layout_width="wrap_content"
|
|
|
99 |
android:layout_height="wrap_content"
|
|
|
100 |
android:layout_gravity="center"
|
|
|
101 |
android:layout_weight="0"
|
|
|
102 |
android:singleLine="true"
|
|
|
103 |
android:gravity="center"
|
|
|
104 |
android:paddingLeft="8dp"
|
|
|
105 |
android:paddingStart="8dp"
|
|
|
106 |
/>
|
|
|
107 |
</LinearLayout>
|
|
|
108 |
</LinearLayout>
|