I have a Tab View with three layouts. Each layout is divided into 4 parts using Frame layout and each one has a button. So there are total of 12 buttons. Since the View is First Layout, buttons in other two layouts return a null pointer exception. I tried include in XML but the buttons get merged and the app runs. Any Solution. Working Day And Night.I have a Tab View with three layouts. Each layo