| Index: chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java
|
| index bbf2c77cb5e52f508ccdf5357587f577ac88e64d..9bdf5e5d855395079378b6cd4e34ed4c107ab290 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionView.java
|
| @@ -163,11 +163,13 @@ class SuggestionView extends ViewGroup {
|
| };
|
| mRefineView.setContentDescription(getContext().getString(
|
| R.string.accessibility_omnibox_btn_refine));
|
| + mRefineView.setBackgroundColor(Color.argb(50, 0, 0, 255));
|
|
|
| // Although this has the same background as the suggestion view, it can not be shared as
|
| // it will result in the state of the drawable being shared and always showing up in the
|
| // refine view.
|
| - mRefineView.setBackground(itemBackground.getConstantState().newDrawable());
|
| + //mRefineView.setBackground(itemBackground.getConstantState().newDrawable());
|
| + mRefineView.setBackgroundColor(Color.argb(50, 0, 0, 255));
|
| mRefineView.setId(R.id.refine_view_id);
|
| mRefineView.setClickable(true);
|
| mRefineView.setFocusable(true);
|
| @@ -708,6 +710,7 @@ class SuggestionView extends ViewGroup {
|
| new LayoutParams(LayoutParams.WRAP_CONTENT, mSuggestionHeight));
|
| mTextLine1.setSingleLine();
|
| mTextLine1.setTextColor(getStandardFontColor());
|
| + mTextLine1.setBackgroundColor(Color.argb(50, 255, 0, 0));
|
| ApiCompatibilityUtils.setTextAlignment(mTextLine1, TEXT_ALIGNMENT_VIEW_START);
|
| addView(mTextLine1);
|
|
|
| @@ -725,6 +728,7 @@ class SuggestionView extends ViewGroup {
|
| mAnswerImage.setLayoutParams(new LayoutParams(0, 0));
|
| mAnswerImageMaxSize = 0;
|
| addView(mAnswerImage);
|
| + setBackgroundColor(Color.GREEN);
|
| }
|
|
|
| private void resetTextWidths() {
|
|
|