Bug 1209558 - Update pressed_state of search buttons.r=mcomella

This commit is contained in:
Allison Naaktgeboren 2015-10-02 14:06:35 -07:00
parent 640322a056
commit db8ecfaafe
3 changed files with 31 additions and 16 deletions

View File

@ -5,10 +5,7 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<gradient android:angle="90"
android:startColor="@color/action_orange"
android:endColor="@color/fennec_ui_orange"
android:type="linear"/>
<solid android:color="@color/toolbar_grey_pressed"/>
<corners android:radius="4dp"/>
</shape>
</item>

View File

@ -3,9 +3,18 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<solid android:color="@color/toolbar_menu_dark_grey" />
<corners
android:radius="4dp" />
</shape>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/toolbar_grey_pressed"/>
<corners android:radius="@dimen/doorhanger_rounded_corner_radius"/>
</shape>
</item>
<item>
<shape>
<solid android:color="@color/toolbar_menu_dark_grey"/>
<corners android:radius="@dimen/doorhanger_rounded_corner_radius"/>
</shape>
</item>
</selector>

View File

@ -3,9 +3,18 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<solid android:color="@color/link_blue_pressed" />
<corners
android:radius="4dp" />
</shape>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/link_blue_pressed"/>
<corners android:radius="@dimen/doorhanger_rounded_corner_radius"/>
</shape>
</item>
<item>
<shape>
<solid android:color="@color/link_blue"/>
<corners android:radius="@dimen/doorhanger_rounded_corner_radius"/>
</shape>
</item>
</selector>