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

Unified Diff: chrome/android/java/res/layout/web_notification.xml

Issue 1412483006: Notification custom layouts: use DateTimeView instead of TextView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CustomLayoutsTextStyling
Patch Set: Created 5 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/web_notification.xml
diff --git a/chrome/android/java/res/layout/web_notification.xml b/chrome/android/java/res/layout/web_notification.xml
index a97ec1c79c8a34fc0b104cb39c6218671e19b0c1..5b866124c5a7a16c7e4b4e4e261cf526fde8b1a3 100644
--- a/chrome/android/java/res/layout/web_notification.xml
+++ b/chrome/android/java/res/layout/web_notification.xml
@@ -50,13 +50,16 @@
android:ellipsize="end"
style="@style/WebNotificationTitle"/>
- <TextView
+ <DateTimeView
android:id="@+id/time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:singleLine="true"
+ android:layout_marginStart="8dp"
Peter Beverloo 2015/10/27 18:17:21 dito
+ android:layout_marginEnd="8dp"
+ android:layout_marginTop="8dp"
style="@style/WebNotificationTime"/>
<TextView

Powered by Google App Engine
This is Rietveld 408576698