From 8749ac8a4c14bf2ff13deb5fe9a08bafd172ca63 Mon Sep 17 00:00:00 2001 From: Chris Wren Date: Tue, 3 Dec 2013 14:31:01 -0500 Subject: use relative positioning for notification actions Bug: 10531101 Change-Id: I5a55f708d9ffae3ec3582f85c2ff47aa6afa287d --- core/java/android/app/Notification.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android/app') diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index ed3bb92faf0e..62a84219533f 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -1787,7 +1787,7 @@ public class Notification implements Parcelable RemoteViews button = new RemoteViews(mContext.getPackageName(), tombstone ? R.layout.notification_action_tombstone : R.layout.notification_action); - button.setTextViewCompoundDrawables(R.id.action0, action.icon, 0, 0, 0); + button.setTextViewCompoundDrawablesRelative(R.id.action0, action.icon, 0, 0, 0); button.setTextViewText(R.id.action0, action.title); if (!tombstone) { button.setOnClickPendingIntent(R.id.action0, action.actionIntent); -- cgit v1.2.3