OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <!-- | 6 <!-- |
7 Web notification custom layout, big state. | 7 Web notification custom layout, big state. |
8 _______________________________________________________ | 8 _______________________________________________________ |
9 | | | | 9 | | | |
10 | Icon | Title text 1:23 pm | | 10 | Icon | Title text 1:23 pm | |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 android:layout_height="wrap_content"> | 63 android:layout_height="wrap_content"> |
64 | 64 |
65 <TextView | 65 <TextView |
66 android:id="@+id/title" | 66 android:id="@+id/title" |
67 style="@style/WebNotificationTitle" | 67 style="@style/WebNotificationTitle" |
68 android:layout_width="wrap_content" | 68 android:layout_width="wrap_content" |
69 android:layout_height="wrap_content" | 69 android:layout_height="wrap_content" |
70 android:layout_alignParentStart="true" | 70 android:layout_alignParentStart="true" |
71 android:layout_toStartOf="@id/time" | 71 android:layout_toStartOf="@id/time" |
72 android:layout_alignParentTop="true" | 72 android:layout_alignParentTop="true" |
| 73 android:layout_marginTop="4dp" |
73 android:singleLine="true" | 74 android:singleLine="true" |
74 android:ellipsize="end"/> | 75 android:ellipsize="end"/> |
75 | 76 |
76 <TextView | 77 <TextView |
77 android:id="@+id/time" | 78 android:id="@+id/time" |
78 style="@style/WebNotificationTime" | 79 style="@style/WebNotificationTime" |
79 android:layout_width="wrap_content" | 80 android:layout_width="wrap_content" |
80 android:layout_height="wrap_content" | 81 android:layout_height="wrap_content" |
81 android:layout_alignParentEnd="true" | 82 android:layout_alignParentEnd="true" |
82 android:layout_alignParentTop="true" | 83 android:layout_alignParentTop="true" |
83 android:singleLine="true"/> | 84 android:singleLine="true"/> |
84 | 85 |
85 </RelativeLayout> | 86 </RelativeLayout> |
86 | 87 |
87 <TextView | 88 <TextView |
88 android:id="@+id/body" | 89 android:id="@+id/body" |
89 style="@style/WebNotificationBody" | 90 style="@style/WebNotificationBodyBig" |
90 android:layout_width="wrap_content" | 91 android:layout_width="wrap_content" |
91 android:layout_height="wrap_content" | 92 android:layout_height="wrap_content" |
| 93 android:layout_marginEnd="6dp" |
92 android:layout_marginBottom="8dp" | 94 android:layout_marginBottom="8dp" |
93 android:maxLines="8" | 95 android:maxLines="8" |
94 android:ellipsize="end"/> | 96 android:ellipsize="end"/> |
95 | 97 |
96 <ImageView | 98 <ImageView |
97 android:id="@+id/button_divider" | 99 android:id="@+id/button_divider" |
98 style="@style/WebNotificationDivider" | 100 style="@style/WebNotificationDivider" |
99 android:layout_width="match_parent" | 101 android:layout_width="match_parent" |
100 android:layout_height="1dp" | 102 android:layout_height="1dp" |
101 android:layout_marginBottom="8dp" | 103 android:layout_marginBottom="8dp" |
(...skipping 21 matching lines...) Expand all Loading... |
123 style="@style/WebNotificationOrigin" | 125 style="@style/WebNotificationOrigin" |
124 android:layout_width="match_parent" | 126 android:layout_width="match_parent" |
125 android:layout_height="wrap_content" | 127 android:layout_height="wrap_content" |
126 android:layout_marginBottom="10dp" | 128 android:layout_marginBottom="10dp" |
127 android:singleLine="true" | 129 android:singleLine="true" |
128 android:ellipsize="end"/> | 130 android:ellipsize="end"/> |
129 | 131 |
130 </LinearLayout> | 132 </LinearLayout> |
131 | 133 |
132 </RelativeLayout> | 134 </RelativeLayout> |
OLD | NEW |