I have a problem with background on activities and fragments when I use background in App theme:
@android:color/white
@android:color/white
When I put this on my theme and navigate between fragments with animation make a strange shadow:
This is normal?
I have a transaction animation between fragments:
//add fragment
supportFragmentManager.beginTransaction().setCustomAnimations(
R.anim.enter,
R.anim.exit,
R.anim.pop_enter,
R.anim.pop_exit
).replace(R.id.fragment_container,fragmentToShow)
.addToBackStack(null).commit()
If I remove the animation fragment, shadow overlap previous fragment (is worst then the animation is not the problem):
All base theme app is:
@color/colorPrimary
@color/colorPrimaryDark
@color/colorAccent
false
true
true
@android:color/transparent
true
@color/secondaryColor
@android:color/white
@color/colorText
18sp
@font/montserrat_regular
@style/MyCheckBoxStyle
false
The shadows disappear after seconds in both cases...
Can you help me, please?