[ 
https://issues.apache.org/jira/browse/FLEX-28793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592082#comment-13592082
 ] 

Chris edited comment on FLEX-28793 at 3/4/13 9:32 AM:
------------------------------------------------------

This problem only occurs when an action bar is included in the layout AND the 
action bar is not transitioned with the content.
"By default, the ActionBar is not included in the transition from one view to 
another. Instead, the ActionBar control uses a slide transition when the view 
changes, regardless of the specified transition. To include the ActionBar in 
the transition when the view changes, set the transitionControlsWithContent 
property of the transition class to true." 
(http://help.adobe.com/en_US/flex/mobileapps/WS8b1c39bd7e9fc36459dd44a012cbc814595-8000.html)

-> So the workaround is to set transitionControlsWithContent to true at the 
slideViewTransition declaration.
                
      was (Author: chrslgr):
    This problem only occurs when an action bar is included in the layout AND 
the action bar is not transitioned with the content.
By default the action bar has a separate transition from the content in a view.
So the workaround is to set transitionControlsWithContent to true at the 
slideViewTransition declaration.
                  
> SlideViewTransition causes a white background to be drawn during a 
> ViewTransition when the View's skin draws a custom background
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-28793
>                 URL: https://issues.apache.org/jira/browse/FLEX-28793
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile:Transitions
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Adobe JIRA
>            Priority: Minor
>
> Steps to reproduce:
> 1. Run the attached project
> 2. Press button on the first view 
>  
>  Actual Results:
>  A white background appears during the transition
>  
>  Expected Results:
>  No white rectangle
>  
>  Workaround (if any):
>  The workaround would be to set backgroundAlpha or opaqueBackground of the 
> View to a non-zero value.  Since these values aren't set, SlideViewTransition 
> makes the bad assumption that the background is opaque and sets an 
> opaqueBackground.  This was to improve framerates on android devices.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to