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)
Tracking
(fennec+)
RESOLVED
INCOMPLETE
Tracking | Status | |
---|---|---|
fennec | + | --- |
People
(Reporter: shilpanbhagat, Assigned: shilpanbhagat)
References
Details
Attachments
(1 file, 1 obsolete file)
1.76 KB,
patch
|
lucasr
:
review-
|
Details | Diff | Splinter Review |
Create fade in/fade out transitions for nested fragments in History Page
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → sbhagat
Assignee | ||
Comment 1•12 years ago
|
||
This patch adds the fade-in/fade-out transition to subpages on the History page
Attachment #782055 -
Flags: review?(lucasr.at.mozilla)
Comment 2•12 years ago
|
||
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-
Updated•12 years ago
|
Blocks: new-about-home
Assignee | ||
Comment 3•12 years ago
|
||
The patch does as mentioned above
Attachment #782055 -
Attachment is obsolete: true
Attachment #783990 -
Flags: review?(lucasr.at.mozilla)
Comment 4•12 years ago
|
||
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 5•12 years ago
|
||
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-
Updated•12 years ago
|
Priority: -- → P1
Updated•12 years ago
|
tracking-fennec: --- → ?
Updated•12 years ago
|
OS: Mac OS X → Android
Hardware: x86 → All
Updated•12 years ago
|
tracking-fennec: ? → +
Comment 6•11 years ago
|
||
Closing as INCOMPLETE
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
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
•