I am using snackbar to alert user on exiting application, It works well on most of devices but on few devices like GALAXY A5(android version 5.0.2) it goes under my view like
what's the problem?
I am using snackbar to alert user on exiting application, It works well on most of devices but on few devices like GALAXY A5(android version 5.0.2) it goes under my view like
what's the problem?
Try this , i had the similar problem and fixed by using this Put this after initiliazing views
ViewCompat.postOnAnimation(coordinatorLayout, new Runnable() {
@Override
public void run() {
ViewCompat.postInvalidateOnAnimation(coordinatorLayout);
}
});
I am using a linearlayout with buttons as children, but this problem happended when i didn't use any background for the linearlayout. I used transparent background and it solved my problem.