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)

defect
Not set
normal

Tracking

(firefox44 affected, firefox45 fixed)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox44 --- affected
firefox45 --- fixed

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?
(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.
antlam: can you look at this locally and see if it's what you want?
Flags: needinfo?(alam)
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)
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)
(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 :)
^vivek could I get a screenshot when you get a chance? or a test build! heh
Bug 1218917 : Fix swipe refresh animation colors r?nalexander
Attachment #8683648 - Flags: review?(nalexander)
@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)
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+
Thanks vivek! I saw the video off Nalexander :)
Flags: needinfo?(alam)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: