summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/XLargeUi.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-03-10 09:31:45 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-03-10 09:31:45 -0800
commit7de7bfaad5420facfc481b822a5bf7120f6781ad (patch)
treee867b5d586bde43fc4d9807802a4b01aad666e4a /src/com/android/browser/XLargeUi.java
parentf06113a9c90b72e73af2f63d93fd2debd9b7cd3c (diff)
parent1544f3b7494955d8a33b307fb2a96dd1841942c0 (diff)
downloadpackages_apps_Browser-7de7bfaad5420facfc481b822a5bf7120f6781ad.zip
packages_apps_Browser-7de7bfaad5420facfc481b822a5bf7120f6781ad.tar.gz
packages_apps_Browser-7de7bfaad5420facfc481b822a5bf7120f6781ad.tar.bz2
Merge "fix url bar disappearing bug" into honeycomb-mr1
Diffstat (limited to 'src/com/android/browser/XLargeUi.java')
-rw-r--r--src/com/android/browser/XLargeUi.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/android/browser/XLargeUi.java b/src/com/android/browser/XLargeUi.java
index 9b5a884..0712f37 100644
--- a/src/com/android/browser/XLargeUi.java
+++ b/src/com/android/browser/XLargeUi.java
@@ -363,9 +363,11 @@ public class XLargeUi extends BaseUi implements ScrollListener {
if (inLoad) {
// the titlebar was removed when the CAB was shown
// if the page is loading, show it again
- mTitleBar.setShowProgressOnly(true);
- if (!isTitleBarShowing()) {
- setTitleGravity(Gravity.TOP);
+ if (mUseQuickControls) {
+ mTitleBar.setShowProgressOnly(true);
+ if (!isTitleBarShowing()) {
+ setTitleGravity(Gravity.TOP);
+ }
}
showTitleBar();
}