Closed
Bug 1218917
Opened 9 years ago
Closed 9 years ago
Pull-to-refresh spinner colors are odd on Android 4.4.2
Categories
(Firefox for Android Graveyard :: Theme and Visual Design, defect)
Firefox for Android Graveyard
Theme and Visual Design
Tracking
(firefox44 affected, firefox45 fixed)
RESOLVED
FIXED
Firefox 45
People
(Reporter: nalexander, Unassigned)
References
Details
Attachments
(2 files)
I am seeing bad colors in the "Material Design" pull-to-refresh spinner on Android 4.4.2. Possible fallout from Bug 1201206?
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #1)
> Created attachment 8679578 [details]
> Material.Design.Pull.to.Refresh.Spinner.mp4.webm
Hmm, the low-res webm hides some of the grey vs. white mismatching, but the long gap between orange bursts still suggests we're doing something wrong.
Reporter | ||
Comment 3•9 years ago
|
||
antlam: can you look at this locally and see if it's what you want?
Flags: needinfo?(alam)
Comment 4•9 years ago
|
||
What do we get to define here? I remember our conversation about this before the fallout and I think we were using fennec orange and action orange.
Can we try that?
Flags: needinfo?(alam) → needinfo?(nalexander)
Updated•9 years ago
|
Blocks: fennec-polish
Reporter | ||
Comment 5•9 years ago
|
||
It looks like these SwipeRefreshLayout's take 4 colors.
At https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/home/PanelRefreshLayout.java#62 we use
setColorSchemeResources(R.color.swipe_refresh_orange, R.color.swipe_refresh_white,
R.color.swipe_refresh_orange, R.color.swipe_refresh_white);
At https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/home/RemoteTabsBaseFragment.java#89 we do the same. So at least we are consistent.
Blame shows that Bug 1183588 removed the old GeckoSwipeRefreshLayout in favour of the built-in one, so I expect vivek will know most here. vivek, did this change the behaviour?
Flags: needinfo?(nalexander) → needinfo?(vivekb.balakrishnan)
Comment 6•9 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #5)
> It looks like these SwipeRefreshLayout's take 4 colors.
>
> At
> https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/home/
> PanelRefreshLayout.java#62 we use
>
> setColorSchemeResources(R.color.swipe_refresh_orange,
> R.color.swipe_refresh_white,
> R.color.swipe_refresh_orange, R.color.swipe_refresh_white);
>
> At
> https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/home/
> RemoteTabsBaseFragment.java#89 we do the same. So at least we are
> consistent.
>
> Blame shows that Bug 1183588 removed the old GeckoSwipeRefreshLayout in
> favour of the built-in one, so I expect vivek will know most here. vivek,
> did this change the behaviour?
Let's try using our fennec orange and action orange as starters then :)
Comment 7•9 years ago
|
||
^vivek could I get a screenshot when you get a chance? or a test build! heh
Comment 8•9 years ago
|
||
Bug 1218917 : Fix swipe refresh animation colors r?nalexander
Attachment #8683648 -
Flags: review?(nalexander)
Comment 9•9 years ago
|
||
@Antlam: I have used fennec_ui_orange and action_orange as you mentioned.
The apk file is at https://www.dropbox.com/s/kw4jrxosndocbxi/fennec-45.0a1.en-US.android-arm.apk?dl=0
Please let me if this is okay.
Also, note that we have "swipe_refresh_orange" (#FFFFC26C) and swipe_refresh_white defined. If not needed, I will update the patch to remove them.
Flags: needinfo?(vivekb.balakrishnan) → needinfo?(alam)
Reporter | ||
Comment 10•9 years ago
|
||
Comment on attachment 8683648 [details]
MozReview Request: Bug 1218917 : Fix swipe refresh animation colors r?nalexander
https://reviewboard.mozilla.org/r/24403/#review22121
antlam liked the two colors, so bombs away!
Attachment #8683648 -
Flags: review?(nalexander) → review+
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/2fe63f770d60eb93a919912d98d5afb5761b3366
Bug 1218917 : Fix swipe refresh animation colors r=nalexander
Comment 13•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
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
•