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

Unified Diff: chrome/android/java/res/layout/web_notification_big.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_big.xml
diff --git a/chrome/android/java/res/layout/web_notification_big.xml b/chrome/android/java/res/layout/web_notification_big.xml
index 871eea89c8c6e933d224905be5c9322b31ebf2c7..7bb92f604e2e6f126ebd1df7c6ed3b85b74bf917 100644
--- a/chrome/android/java/res/layout/web_notification_big.xml
+++ b/chrome/android/java/res/layout/web_notification_big.xml
@@ -74,14 +74,17 @@
android:singleLine="true"
android:ellipsize="end"/>
- <TextView
+ <DateTimeView
android:id="@+id/time"
- style="@style/WebNotificationTime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
- android:singleLine="true"/>
+ android:singleLine="true"
Peter Beverloo 2015/10/27 18:17:21 nit: place the android:singleLine after the other
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
+ android:layout_marginTop="8dp"
+ style="@style/WebNotificationTime"/>
</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698