summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2012-09-27 13:24:09 -0700
committerWinson Chung <winsonc@google.com>2012-09-27 14:27:12 -0700
commit411a3001d660f84565c19c37de5f26ee2302aa0a (patch)
treed03f75a275099f00b5cb51a2dee41fc8af555256 /res/layout-land
parent37990b4b4fc241fcf12a4b6d1725c69605b26605 (diff)
downloadandroid_packages_apps_Trebuchet-411a3001d660f84565c19c37de5f26ee2302aa0a.tar.gz
android_packages_apps_Trebuchet-411a3001d660f84565c19c37de5f26ee2302aa0a.tar.bz2
android_packages_apps_Trebuchet-411a3001d660f84565c19c37de5f26ee2302aa0a.zip
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.xml3
-rw-r--r--res/layout-land/search_bar.xml7
2 files changed, 6 insertions, 4 deletions
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml
index 6b65f5666..7f705f5e7 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 88b7bbf4e..af1670bc8 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>