Thursday, 2 July 2015

Android how to bring a view to front in FrameLayout




    "Child views are drawn in a stack, with the most recently added child on top."

How to bring a view to bring?


Solution :

view.bringToFront()

Note: make sure you call this function after the view being added into the parent view.






No comments:

Post a comment