I want add fragment B upon to fragment A. How can I do it?
This is my first fragment:
This is my 2nd fragment on top of the 1st fragment with transparent:
How can I write it with code? Plas write codes with fragment, not with activity
I want add fragment B upon to fragment A. How can I do it?
This is my first fragment:
This is my 2nd fragment on top of the 1st fragment with transparent:
How can I write it with code? Plas write codes with fragment, not with activity


You can just simply add the second fragment(B) on top of existing fragment
by default fragment B will transparent if no background is set, you can set it's background to some translucent color by adding following line in fragment's root container
color is in #AARRGGBB format, you can adjust the transparency by changing the
66field