Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Side by Side Diff: chrome/android/java/res/layout/web_notification.xml

Issue 1426453003: Notification custom layouts: improve origin display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/layout/web_notification_big.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/layout/web_notification_big.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698