diff options
author | Winson Chung <winsonc@google.com> | 2011-10-07 13:11:56 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-10-11 17:39:07 -0700 |
commit | 7d3810d8337e4f030796b566a2d562fcf79b0a22 (patch) | |
tree | 905e2716716d24e3196f8c21bf015a710ce3219e /res | |
parent | 3a02e82cfff354ba5e4444114b1ae2a1d5ac2862 (diff) | |
download | android_packages_apps_Trebuchet-7d3810d8337e4f030796b566a2d562fcf79b0a22.tar.gz android_packages_apps_Trebuchet-7d3810d8337e4f030796b566a2d562fcf79b0a22.tar.bz2 android_packages_apps_Trebuchet-7d3810d8337e4f030796b566a2d562fcf79b0a22.zip |
Changing press feedback to holographic for search buttons. (Bug: 5290367)
Change-Id: I50fa849abb816a98d1dbbfd9bf6611fbb87baca9
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-land/search_bar.xml | 6 | ||||
-rw-r--r-- | res/layout-port/search_bar.xml | 10 | ||||
-rw-r--r-- | res/layout-sw600dp/search_bar.xml | 6 |
3 files changed, 8 insertions, 14 deletions
diff --git a/res/layout-land/search_bar.xml b/res/layout-land/search_bar.xml index a1c87e4b2..c606173fd 100644 --- a/res/layout-land/search_bar.xml +++ b/res/layout-land/search_bar.xml @@ -20,14 +20,13 @@ android:layout_width="@dimen/qsb_bar_height" android:layout_height="match_parent"> <!-- Global search icon --> - <ImageView + <com.android.launcher2.HolographicImageView style="@style/SearchButton" android:id="@+id/search_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:src="@drawable/ic_home_search_normal_holo" android:adjustViewBounds="true" - android:background="?android:attr/selectableItemBackground" android:onClick="onClickSearchButton" android:focusable="true" android:clickable="true" @@ -42,14 +41,13 @@ android:clickable="true" /> <!-- Voice search icon --> - <ImageView + <com.android.launcher2.HolographicImageView style="@style/SearchButton" android:id="@+id/voice_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:src="@drawable/ic_home_voice_search_holo" android:adjustViewBounds="true" - 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 6b2c82794..5c20ec08e 100644 --- a/res/layout-port/search_bar.xml +++ b/res/layout-port/search_bar.xml @@ -22,7 +22,7 @@ android:layout_gravity="bottom|center_horizontal" android:background="@drawable/search_frame"> <!-- Global search icon --> - <LinearLayout + <com.android.launcher2.HolographicLinearLayout style="@style/SearchButton" android:id="@+id/search_button_container" android:layout_width="match_parent" @@ -30,7 +30,6 @@ android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_toLeftOf="@+id/voice_button_container" - android:background="?android:attr/selectableItemBackground" android:onClick="onClickSearchButton" android:focusable="true" android:clickable="true" @@ -41,10 +40,10 @@ android:layout_height="match_parent" android:src="@drawable/ic_home_search_normal_holo" android:adjustViewBounds="true" /> - </LinearLayout> + </com.android.launcher2.HolographicLinearLayout> <!-- Voice search icon --> - <LinearLayout + <com.android.launcher2.HolographicLinearLayout style="@style/SearchButton.Voice" android:id="@+id/voice_button_container" android:layout_width="@dimen/search_bar_height" @@ -52,7 +51,6 @@ android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:gravity="right" - android:background="?android:attr/selectableItemBackground" android:onClick="onClickVoiceButton" android:focusable="true" android:clickable="true" @@ -63,5 +61,5 @@ android:layout_height="match_parent" android:src="@drawable/ic_home_voice_search_holo" android:adjustViewBounds="true" /> - </LinearLayout> + </com.android.launcher2.HolographicLinearLayout> </RelativeLayout> diff --git a/res/layout-sw600dp/search_bar.xml b/res/layout-sw600dp/search_bar.xml index f8b950c59..d8975b440 100644 --- a/res/layout-sw600dp/search_bar.xml +++ b/res/layout-sw600dp/search_bar.xml @@ -20,7 +20,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> <!-- Global search icon --> - <ImageView + <com.android.launcher2.HolographicImageView style="@style/SearchButton" android:id="@+id/search_button" android:layout_width="wrap_content" @@ -28,7 +28,6 @@ android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:src="@drawable/ic_home_search_normal_holo" - android:background="?android:attr/selectableItemBackground" android:onClick="onClickSearchButton" android:focusable="true" android:clickable="true" @@ -44,14 +43,13 @@ android:clickable="true" /> <!-- Voice search icon --> - <ImageView + <com.android.launcher2.HolographicImageView style="@style/SearchButton" android:id="@+id/voice_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@+id/search_divider" android:src="@drawable/ic_home_voice_search_holo" - android:background="?android:attr/selectableItemBackground" android:onClick="onClickVoiceButton" android:focusable="true" android:clickable="true" |