1

TabIndicator onMeasure NullPointerException

view story
linux-howto

http://stackoverflow.com – I'm currently using viewpagerindicator library, but i needed to change tab item with custom item inflated from xml. I made these changes on library: private class CustomTabView extends RelativeLayout { private int mIndex; public CustomTabView(Context context) { super(context, null, R.attr.vpiTabPageIndicatorStyle); } public void SetCustomView(int id) { LayoutInflater inflater = (LayoutInflater) getContext() .getSystemService(Context.LAYOUT_INFLATER_SERVICE); View v = inflater.inflate(id, null); RelativeLayout.LayoutParams lp = (HowTos)