From 54c725cc294cd43ed0650179bfae64a622547660 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 3 Aug 2011 12:03:40 -0700 Subject: [PATCH] Bug fixes - Fixing issue where drop target is not as tall as it should be (5116098) - Fixing issue where number of cells was being computed incorrectly (5112002) - Disabling side page fading in AppsCustomize on the phone UI - Should be using action bar bg states instead of tab bg states (5086625) Change-Id: I0ec927f87cede48dcf4b66cbaa1d62a09f3492b8 --- res/layout-land/search_bar.xml | 4 ++-- res/layout-large/search_bar.xml | 4 ++-- res/layout-port/search_bar.xml | 4 ++-- res/values-large/styles.xml | 2 +- res/values/styles.xml | 2 +- src/com/android/launcher2/AppsCustomizePagedView.java | 10 ++++++++-- src/com/android/launcher2/CellLayout.java | 4 ++-- 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/res/layout-land/search_bar.xml b/res/layout-land/search_bar.xml index 0dbfd7b353..452a80c222 100644 --- a/res/layout-land/search_bar.xml +++ b/res/layout-land/search_bar.xml @@ -27,7 +27,7 @@ android:layout_height="wrap_content" android:src="@drawable/ic_search_normal_holo" android:adjustViewBounds="true" - android:background="@drawable/button_bg" + android:background="?android:attr/selectableItemBackground" android:onClick="onClickSearchButton" android:focusable="true" android:clickable="true" @@ -49,7 +49,7 @@ android:layout_height="wrap_content" android:src="@drawable/ic_voice_search_holo" android:adjustViewBounds="true" - android:background="@drawable/button_bg" + android:background="?android:attr/selectableItemBackground" android:onClick="onClickVoiceButton" android:focusable="true" android:clickable="true" diff --git a/res/layout-large/search_bar.xml b/res/layout-large/search_bar.xml index e26a96a489..d6482feb50 100644 --- a/res/layout-large/search_bar.xml +++ b/res/layout-large/search_bar.xml @@ -28,7 +28,7 @@ android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:src="@drawable/ic_search_normal_holo" - android:background="@drawable/button_bg" + android:background="?android:attr/selectableItemBackground" android:onClick="onClickSearchButton" android:focusable="true" android:clickable="true" @@ -51,7 +51,7 @@ android:layout_height="wrap_content" android:layout_toRightOf="@+id/search_divider" android:src="@drawable/ic_voice_search_holo" - android:background="@drawable/button_bg" + android:background="?android:attr/selectableItemBackground" android:onClick="onClickVoiceButton" android:focusable="true" android:clickable="true" diff --git a/res/layout-port/search_bar.xml b/res/layout-port/search_bar.xml index 0de290a049..b65da0b651 100644 --- a/res/layout-port/search_bar.xml +++ b/res/layout-port/search_bar.xml @@ -27,7 +27,7 @@ android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_toLeftOf="@+id/voice_button" - android:background="@drawable/button_bg" + android:background="?android:attr/selectableItemBackground" android:onClick="onClickSearchButton" android:focusable="true" android:clickable="true" @@ -50,7 +50,7 @@ android:layout_alignParentTop="true" android:src="@drawable/ic_voice_search_holo" android:adjustViewBounds="true" - android:background="@drawable/button_bg" + android:background="?android:attr/selectableItemBackground" android:onClick="onClickVoiceButton" android:focusable="true" android:clickable="true" diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml index ea1a8e6355..41bd9cd227 100644 --- a/res/values-large/styles.xml +++ b/res/values-large/styles.xml @@ -94,7 +94,7 @@