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

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

Issue 1620203004: Notification action icons prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make it work on Android and clean up. Created 4 years, 11 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/web_notification_button.xml
diff --git a/chrome/android/java/res/layout/web_notification_button.xml b/chrome/android/java/res/layout/web_notification_button.xml
index dd03d6f7e35e1561970e50fdf83fcb6f728d24a7..b1991f907d71be000a1be5dfaaf65e3b7460913d 100644
--- a/chrome/android/java/res/layout/web_notification_button.xml
+++ b/chrome/android/java/res/layout/web_notification_button.xml
@@ -22,10 +22,12 @@
<ImageView
android:id="@+id/button_icon"
android:layout_width="wrap_content"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_gravity="start|center_vertical"
- android:maxWidth="48dp"
+ android:adjustViewBounds="true"
+ android:maxHeight="32dp"
+ android:maxWidth="32dp"
android:contentDescription="@null"
android:scaleType="centerInside"/>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698