Programatically generated views

view story

http://stackoverflow.com – I'm adding a view at the top of the current view programatically by inflating it from an XML. The problem is that after the view is added and showed, I'm still able to press button from the underlying view. How can I prevent this? (HowTos)