diff options
| author | Chris Wren <cwren@android.com> | 2013-12-03 14:31:01 -0500 |
|---|---|---|
| committer | Chris Wren <cwren@android.com> | 2014-03-06 14:55:23 -0500 |
| commit | be63a95d2b4c1fba31c71db7dc1d2248418e1ded (patch) | |
| tree | 8a2e2f160448b25421a65c2ee7586062182cfcbb /core/java/android | |
| parent | 221849b6d68704340754200492329f19cef7979b (diff) | |
use relative positioning for notification actions
Bug: 10531101
Change-Id: Ia1d7cac880f620a9760271344edf920caf0d852d
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/app/Notification.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index c63e586a7127..cce6fc42da58 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -1778,7 +1778,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); |
