summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-01-25 16:54:34 -0800
committerMichael Kolb <kolby@google.com>2011-01-25 16:54:47 -0800
commit5b2299cc2fd9c8ca9c8ea2574d15dc867fa1e793 (patch)
treeb5e1450fe6aa254e382df3e55aab5ff76b734631 /src
parentc33e55b70b3b6be64a7a840b828602c426916424 (diff)
downloadpackages_apps_Browser-5b2299cc2fd9c8ca9c8ea2574d15dc867fa1e793.zip
packages_apps_Browser-5b2299cc2fd9c8ca9c8ea2574d15dc867fa1e793.tar.gz
packages_apps_Browser-5b2299cc2fd9c8ca9c8ea2574d15dc867fa1e793.tar.bz2
fix url bar
http://b/issue?id=3351733 added web /search icon fixed positioning when focus changes Change-Id: Ib917c2797c9886e6b899494798fb080757f01c7a
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/TitleBarXLarge.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/TitleBarXLarge.java b/src/com/android/browser/TitleBarXLarge.java
index 4822cc0..6caacdc 100644
--- a/src/com/android/browser/TitleBarXLarge.java
+++ b/src/com/android/browser/TitleBarXLarge.java
@@ -60,6 +60,7 @@ public class TitleBarXLarge extends TitleBarBase
private ImageButton mBackButton;
private ImageButton mForwardButton;
private ImageView mStar;
+ private ImageView mWebIcon;
private View mSearchButton;
private View mUrlContainer;
private View mGoButton;
@@ -105,6 +106,7 @@ public class TitleBarXLarge extends TitleBarBase
// back/forward. Probably should be done inside onPageStarted.
mBackButton = (ImageButton) findViewById(R.id.back);
mForwardButton = (ImageButton) findViewById(R.id.forward);
+ mWebIcon = (ImageView) findViewById(R.id.web_icon);
mStar = (ImageView) findViewById(R.id.star);
mStopButton = (ImageView) findViewById(R.id.stop);
mSearchButton = findViewById(R.id.search);
@@ -340,6 +342,7 @@ public class TitleBarXLarge extends TitleBarBase
if (mInVoiceMode) {
mVoiceSearchIndicator.setVisibility(View.VISIBLE);
}
+ mWebIcon.setImageResource(R.drawable.ic_search_holo_dark);
updateSearchMode();
} else {
mUrlInput.clearFocus();
@@ -353,6 +356,7 @@ public class TitleBarXLarge extends TitleBarBase
} else {
mSearchButton.setVisibility(View.VISIBLE);
}
+ mWebIcon.setImageResource(R.drawable.ic_web_holo_dark);
}
}