Closed
Bug 1209558
Opened 10 years ago
Closed 10 years ago
Update pressed_state of search buttons
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox44 fixed)
RESOLVED
FIXED
Firefox 44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: liuche, Assigned: ally)
References
Details
Attachments
(1 file)
3.74 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
The pressed_state for the buttons in Search should not be orange, and should be updated.
When pressed, suggestions should be pressed_grey, and the Yes/No for turning on search suggestions should be link_blue_pressed.
Comment 1•10 years ago
|
||
Thanks for filing this!
(In reply to Chenxia Liu [:liuche] from comment #0)
> The pressed_state for the buttons in Search should not be orange, and should
> be updated.
>
> When pressed, suggestions should be pressed_grey, and the Yes/No for turning
> on search suggestions should be link_blue_pressed.
Just the "Yes" button since that's the only blue button. :)
Flags: needinfo?(ally)
Assignee | ||
Comment 2•10 years ago
|
||
Talked with antlam. No button pressed is to be pressed_grey
Flags: needinfo?(ally)
Assignee | ||
Comment 3•10 years ago
|
||
- depends on patch in 1195614
Attachment #8667550 -
Flags: review?(michael.l.comella)
Comment 4•10 years ago
|
||
(In reply to Allison Naaktgeboren please NEEDINFO? :ally from comment #2)
> Talked with antlam. No button pressed is to be pressed_grey
Wanted to clarify what you meant here...
this bug is about changing the pressed state of search suggestion pills from toolbar grey to toolbar grey pressed and link blue to link blue pressed right?
Flags: needinfo?(ally)
Assignee | ||
Comment 5•10 years ago
|
||
and the yes/no button press states, as liuche mentioned in comment 0. :D
Flags: needinfo?(ally)
Comment on attachment 8667550 [details] [diff] [review]
changePressedButtonColors v0
Review of attachment 8667550 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/resources/drawable/search_suggestion_prompt_no.xml
@@ +6,5 @@
> +<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="4dp"/>
It'd be good to use a constant here because the dimension spans multiple files. I filed bug 1210862 to consolidate our use of dimens values, but lets go with doorhanger_rounded_corner_radius for now (here & in search_suggestion_prompt_yes).
::: mobile/android/base/resources/drawable/search_suggestion_prompt_yes.xml
@@ +12,5 @@
> +</item>
> +
> +<item>
> + <shape>
> + <solid android:color="@color/link_blue_pressed"/>
The names here are confusing so I just want to double-check you meant to do this – pressed is "link_blue" and not pressed is "link_blue_pressed".
Attachment #8667550 -
Flags: review?(michael.l.comella) → review+
Assignee | ||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/d1d59b342a3ccc6fe209824ac51aa1ff5c7a46a6
Bug 1209558 - Update pressed_state of search buttons.r=mcomella
Comment 8•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•