diff options
author | kkimlabs <kkimlabs@chromium.org> | 2015-06-29 16:51:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-29 23:52:28 +0000 |
commit | 160ce1d6f9a30f3a3e717fd4ee49b09e849de876 (patch) | |
tree | aa4c3ffe9ea9acb9353c8f130aa51a15c9a665ad | |
parent | 17622dfb906443394e44191cadd2bc096f42ce0d (diff) | |
download | chromium_src-160ce1d6f9a30f3a3e717fd4ee49b09e849de876.zip chromium_src-160ce1d6f9a30f3a3e717fd4ee49b09e849de876.tar.gz chromium_src-160ce1d6f9a30f3a3e717fd4ee49b09e849de876.tar.bz2 |
[Android] Tint trash button on EnhancedBookmarkEditActivity.
BUG=504762
Review URL: https://codereview.chromium.org/1217103002
Cr-Commit-Position: refs/heads/master@{#336687}
-rw-r--r-- | chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java index e621924..7b3d01e 100644 --- a/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java +++ b/chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java @@ -18,6 +18,7 @@ import org.chromium.chrome.browser.BookmarksBridge.BookmarkModelObserver; import org.chromium.chrome.browser.UrlUtilities; import org.chromium.chrome.browser.enhanced_bookmarks.EnhancedBookmarksModel; import org.chromium.chrome.browser.widget.EmptyAlertEditText; +import org.chromium.chrome.browser.widget.TintedDrawable; import org.chromium.components.bookmarks.BookmarkId; import org.chromium.ui.UiUtils; @@ -108,7 +109,7 @@ public class EnhancedBookmarkEditActivity extends EnhancedBookmarkActivityBase { @Override public boolean onCreateOptionsMenu(Menu menu) { mDeleteButton = menu.add(R.string.enhanced_bookmark_action_bar_delete).setIcon( - R.drawable.btn_trash); + TintedDrawable.constructTintedDrawable(getResources(), R.drawable.btn_trash)); mDeleteButton.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS); return super.onCreateOptionsMenu(menu); } |