Closed Bug 898648 Opened 12 years ago Closed 11 years ago

[FIG] Fade in/ Fade out transitions for sub pages on History Page

Categories

(Firefox for Android Graveyard :: Theme and Visual Design, defect, P1)

All
Android
defect

Tracking

(fennec+)

RESOLVED INCOMPLETE
Tracking Status
fennec + ---

People

(Reporter: shilpanbhagat, Assigned: shilpanbhagat)

References

Details

Attachments

(1 file, 1 obsolete file)

Create fade in/fade out transitions for nested fragments in History Page
Assignee: nobody → sbhagat
Attached patch animationfrags.diff (obsolete) — Splinter Review
This patch adds the fade-in/fade-out transition to subpages on the History page
Attachment #782055 - Flags: review?(lucasr.at.mozilla)
Comment on attachment 782055 [details] [diff] [review] animationfrags.diff Review of attachment 782055 [details] [diff] [review]: ----------------------------------------------------------------- Looks fine otherwise. ::: mobile/android/base/home/HistoryPage.java @@ +77,5 @@ > } > > private void showSubPage(Fragment subPage) { > getChildFragmentManager().beginTransaction() > + .setCustomAnimations(R.anim.fade_in, R.anim.fade_out) You should probably use Android's predefined fade in/out animations instead. IIRC, android.R.anim.fade_in and android.R.anim.fade_out respectively.
Attachment #782055 - Flags: review?(lucasr.at.mozilla) → review-
The patch does as mentioned above
Attachment #782055 - Attachment is obsolete: true
Attachment #783990 - Flags: review?(lucasr.at.mozilla)
Comment on attachment 783990 [details] [diff] [review] Patch: Animate transitions using android anims Review of attachment 783990 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/home/HistoryPage.java @@ +7,5 @@ > > import org.mozilla.gecko.R; > import org.mozilla.gecko.widget.IconTabWidget; > + > +import android.R.anim; Do you actually need this import?
Attachment #783990 - Flags: review?(lucasr.at.mozilla) → review+
Comment on attachment 783990 [details] [diff] [review] Patch: Animate transitions using android anims Tried this patch locally. The cross-fading is too slow. Also, we probably want to avoid fading in when the first page is initially presented. Flipping the review flag just to be clear about the status of this bug.
Attachment #783990 - Flags: review+ → review-
Priority: -- → P1
tracking-fennec: --- → ?
OS: Mac OS X → Android
Hardware: x86 → All
tracking-fennec: ? → +
Closing as INCOMPLETE
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
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

Creator:
Created:
Updated:
Size:

OSZAR »