I\'m adding a fragment to an activity instead of replacing the current fragment (because this corresponds to the type of behavior I want to hav
You can just add the following attribute to the XML root layout of the fragment that agoes on top-
android:clickable="true"
This will ensure that touch events will not propagate further than the top layer.