Here i have one view pager activity which has one imageview and 2 overlay bars. there overlay bars i made using android xml file layout itself.
Here my requirement i
just add this to each of your framelayout view containers so that absorb the click:
android:clickable="true" android:focusable="true" android:focusableInTouchMode="true"