From 0acfb1147acf4eafbc1bd4ec0a4b3be6d4b74b1e Mon Sep 17 00:00:00 2001 From: Michael Comella Date: Thu, 17 Oct 2013 13:32:57 -0700 Subject: [PATCH] Bug 924480 - Part 1: Make search_container focusable before browser_toolbar. r=bnicholson --- mobile/android/base/BrowserToolbar.java | 1 + .../base/resources/layout/gecko_app.xml | 21 ++++++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/mobile/android/base/BrowserToolbar.java b/mobile/android/base/BrowserToolbar.java index b1c88879b6ce..f420da4a4bab 100644 --- a/mobile/android/base/BrowserToolbar.java +++ b/mobile/android/base/BrowserToolbar.java @@ -410,6 +410,7 @@ public class BrowserToolbar extends GeckoRelativeLayout } if (keyCode == KeyEvent.KEYCODE_BACK) { + // Drop the virtual keyboard. clearFocus(); return true; } diff --git a/mobile/android/base/resources/layout/gecko_app.xml b/mobile/android/base/resources/layout/gecko_app.xml index 8d3407933c2a..6b9ca9d8df26 100644 --- a/mobile/android/base/resources/layout/gecko_app.xml +++ b/mobile/android/base/resources/layout/gecko_app.xml @@ -55,20 +55,25 @@ android:layout_alignParentBottom="true"> - + + + - -