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. | 7 Web notification custom layout. |
8 _______________________________________________________ | 8 _______________________________________________________ |
9 | | | | 9 | | | |
10 | Icon | Title text 1:23 pm | | 10 | Icon | Title text 1:23 pm | |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 android:ellipsize="end" | 58 android:ellipsize="end" |
59 style="@style/WebNotificationBody"/> | 59 style="@style/WebNotificationBody"/> |
60 | 60 |
61 <TextView | 61 <TextView |
62 android:id="@+id/origin" | 62 android:id="@+id/origin" |
63 android:layout_width="wrap_content" | 63 android:layout_width="wrap_content" |
64 android:layout_height="wrap_content" | 64 android:layout_height="wrap_content" |
65 android:layout_toEndOf="@id/icon_frame" | 65 android:layout_toEndOf="@id/icon_frame" |
66 android:layout_alignParentEnd="true" | 66 android:layout_alignParentEnd="true" |
67 android:layout_below="@id/body" | 67 android:layout_below="@id/body" |
| 68 android:layout_marginEnd="8dp" |
68 android:singleLine="true" | 69 android:singleLine="true" |
69 android:ellipsize="end" | 70 android:ellipsize="start" |
70 style="@style/WebNotificationOrigin"/> | 71 style="@style/WebNotificationOrigin"/> |
71 | 72 |
72 </RelativeLayout> | 73 </RelativeLayout> |
OLD | NEW |