I have a FrameLayout which contains 2 views , the second is something like a Close Button (X) and i want to position it on the right.
Close Button (X)
I\'ve tried layout
Do you want to use FrameLayout or RelativeLayout?
My understanding says that FrameLayout is used if you want to replace your current view with another view. Your requirement can be fulfilled by RelativeLayout.