diff options
author | Winson Chung <winsonc@google.com> | 2012-09-27 13:24:09 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2012-09-27 14:27:12 -0700 |
commit | 411a3001d660f84565c19c37de5f26ee2302aa0a (patch) | |
tree | d03f75a275099f00b5cb51a2dee41fc8af555256 /res/layout-land | |
parent | 37990b4b4fc241fcf12a4b6d1725c69605b26605 (diff) | |
download | packages_apps_trebuchet-411a3001d660f84565c19c37de5f26ee2302aa0a.zip packages_apps_trebuchet-411a3001d660f84565c19c37de5f26ee2302aa0a.tar.gz packages_apps_trebuchet-411a3001d660f84565c19c37de5f26ee2302aa0a.tar.bz2 |
Updating launcher layouts (Bug 6955380)
- Fixing issue with tiny search/voice icons in landscape
Change-Id: I0291c3415bda0aece241fa07cad132de270d1dda
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/launcher.xml | 3 | ||||
-rw-r--r-- | res/layout-land/search_bar.xml | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 6b65f56..7f705f5 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -80,7 +80,8 @@ android:id="@+id/voice_button_proxy" android:layout_width="@dimen/qsb_bar_height" android:layout_height="@dimen/app_icon_size" - android:layout_gravity="bottom|left" + android:layout_gravity="top|left" + android:layout_marginTop="64dp" android:clickable="true" android:onClick="onClickVoiceButton" android:importantForAccessibility="no" diff --git a/res/layout-land/search_bar.xml b/res/layout-land/search_bar.xml index 88b7bbf..af1670b 100644 --- a/res/layout-land/search_bar.xml +++ b/res/layout-land/search_bar.xml @@ -13,10 +13,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -<RelativeLayout +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="@dimen/qsb_bar_height" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:orientation="vertical"> <!-- Global search icon --> <com.android.launcher2.HolographicImageView style="@style/SearchButton" @@ -44,4 +45,4 @@ android:focusable="true" android:clickable="true" android:contentDescription="@string/accessibility_voice_search_button" /> -</RelativeLayout> +</LinearLayout> |