fragment-animation

Replacing fragments have wrong elevation value

*爱你&永不变心* 提交于 2019-12-05 11:08:38
问题 Hello again stack overflowians. I have another fragment question. (I'm using android.app.Fragment not Support Fragments) I'm trying to replace a fragment. But this isn't as simple as using: fragmentTransaction .replace(containerId, newFragment) .addToBackStack("unique tag") .commit() Why not? Good question friends, its because my newFragment has a transition animation. Where is the animation defined? Another great question, its defined in the fragments onCreateAnimator() Why is it defined

Nested fragments transitioning incorrectly

倖福魔咒の 提交于 2019-11-29 03:08:59
Hello good programmers of stack overflow! I've spent a good week with this problem and am now very desperate for a solution. The scenario I'm using android.app.Fragment's not to be confused with the support fragments. I have 6 child fragments named: FragmentOne FragmentTwo FragmentThree FragmentA FragmentB FragmentC I have 2 parent fragments named: FragmentNumeric FragmentAlpha I have 1 activity named: MainActivity They behave in the following: Child fragments are fragments that only show a view, they do not show nor contain fragments. Parent fragments fill their entire view with a single

Nested fragments transitioning incorrectly

 ̄綄美尐妖づ 提交于 2019-11-27 17:26:58
问题 Hello good programmers of stack overflow! I've spent a good week with this problem and am now very desperate for a solution. The scenario I'm using android.app.Fragment's not to be confused with the support fragments. I have 6 child fragments named: FragmentOne FragmentTwo FragmentThree FragmentA FragmentB FragmentC I have 2 parent fragments named: FragmentNumeric FragmentAlpha I have 1 activity named: MainActivity They behave in the following: Child fragments are fragments that only show a