I\'ve a RelativeLayout
thus:
// <-- View.VISIBLE OR View.GONE
<
A simple hack for this is to play with alpha 0/1. and also disable the onClickListener if there is any
You can use this tag:
android:layout_alignWithParentIfMissing="true"
From the docs:
If set to true, the parent will be used as the anchor when the anchor cannot be be found for layout_toLeftOf, layout_toRightOf, etc.