Why Fragment Layout Cannot Be Displayed?
What have I missed out here? I wanted to open edit_information fragment from edit activity. It can display the Toast but not displaying the edit_information layout. Edit listVie
Solution 1:
Try using FrameLayout
as a container for fragment instead of LinearLayout
. I believe because of LinearLayout
your fragment is getting created out of screen. where as FrameLayout
will overlap your fragment on other Views.
Post a Comment for "Why Fragment Layout Cannot Be Displayed?"