Recently I faced a strange issue with Android 5.0. One of my apps Plan Shaadi is using lots of fragments.
On Android 5.0 suddenly fragments with white colour background were overlapping.
The weird thing was that this was happening with only certain colours, when I tried black it was working good.
As a workaround to it, I tried setting white colour in the java file, and to my surprise it worked, there is no overlapping now.
Here is the result.
So the overall cause of this issue is unknown, but since it was working properly on all other Android versions, I am considering something wrong with this version, or may be some thing of which we are not aware yet.