Closed
Bug 698436
Opened 14 years ago
Closed 14 years ago
Switch to custom spinner
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(firefox11 fixed, fennec11+)
VERIFIED
FIXED
People
(Reporter: kbrosnan, Assigned: sriram)
References
Details
Attachments
(4 files, 1 obsolete file)
|
83.45 KB,
application/zip
|
Details | |
|
65.04 KB,
patch
|
Details | Diff | Splinter Review | |
|
64.92 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
|
1.62 KB,
text/xml
|
Details |
The spinner is white making it very hard to notice.
HTC Desire S
Android 2.3.5
HTC Sense 3.0
HTC G2 (Desire Z)
Android 2.2
| Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
This may be fixed via comment #3 in bug 698042
Comment 3•14 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #2)
> This may be fixed via comment #3 in bug 698042
Yes it will, so I am morphing this bug
Assignee: nobody → sriram
Summary: spinner is nearly invisible → Switch to custom spinner
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
New assets, with a frame for each stage of the spinner animation
Attachment #571395 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•14 years ago
|
||
This patch adds a frame animation based spinner to indicate the progress.
The old ProgressBar is replaced with an ImageButton as the ProgressBar didn't provide image scaling options.
This uses two ImageButton's and switches between them based on whether a progress has to be showed or not.
Only one set of images are added as of now. The MDPI versions will be added when the folders for drawables are decided for menus and tabs-list.
One catch with the animation:
The animation cannot start initially when start() is called from onCreate. [http://stackoverflow.com/questions/2785336/starting-frame-by-frame-animation/2790930#2790930] This needs to be called from onWindowFocusChanged().
However, https://bugzilla.mozilla.org/show_bug.cgi?id=699137 requires not to show the ProgressBar initially. This solves the issue with the animation not starting initially.
Attachment #571480 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 7•14 years ago
|
||
This patch uses one ImageButton to show both the favicon and the progress. This is good in terms of number of views that needs to be drawn by android.
Attachment #571489 -
Flags: review?(mark.finkle)
Comment 8•14 years ago
|
||
Comment on attachment 571489 [details] [diff] [review]
Patch 2: Using one view for favicon/progress
Let's try this approach
Attachment #571489 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
Attachment #571480 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 9•14 years ago
|
||
This had been left out of Patch accidentally.
Comment 10•14 years ago
|
||
added the missing file and pushed
https://hg.mozilla.org/projects/birch/rev/0571e6fb4b44
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 11•14 years ago
|
||
20111103040334
http://hg.mozilla.org/projects/birch/rev/c09a52af4cd8
Samsung Nexus S (Android 2.3.6)
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
tracking-fennec: --- → 11+
Updated•14 years ago
|
status-firefox11:
--- → fixed
Updated•5 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
•