OSDN Git Service

Fix icon padding in app notification settings.
authorJohn Spurlock <jspurlock@google.com>
Mon, 19 May 2014 19:21:19 +0000 (15:21 -0400)
committerJohn Spurlock <jspurlock@google.com>
Mon, 19 May 2014 19:21:19 +0000 (15:21 -0400)
Change-Id: I93da362f0bd6b3f388864a961c2365163c44e474

res/layout/notification_app.xml
res/layout/notification_app_dialog.xml

index 1bb11a0..8f5f8e6 100644 (file)
@@ -31,7 +31,7 @@
             android:layout_height="@dimen/notification_app_icon_size"
             android:layout_centerVertical="true"
             android:contentDescription="@null"
-            android:scaleType="center" />
+            android:padding="8dp" />
 
         <TextView
             android:id="@android:id/title"
index 5b2fd1a..bbd4846 100644 (file)
 
     <ImageView
         android:id="@android:id/icon"
+        android:padding="8dp"
         android:layout_width="@dimen/notification_app_icon_size"
         android:layout_height="@dimen/notification_app_icon_size"
-        android:contentDescription="@null"
-        android:scaleType="center" />
+        android:contentDescription="@null" />
 
     <TextView
         android:id="@android:id/title"