I am trying to make a scrollable tab but when I set a view in my fragment layout the app starts giving error as Error inflating class null.It was working whenthe view is not
You need to define the proper package name for the view class. By looking at the package name defined in your class you can define it in your layout xml like this