Open Diolor opened 10 years ago
In case you want to change the divider's width heres is my two lines solution:
In .java file:
public PagerSlidingTabStrip(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); ......... dividerWidth = a.getDimensionPixelSize(R.styleable.PagerSlidingTabStrip_pstsDividerWidth, dividerWidth); ......... }
And in attrs.xml:
attrs.xml
<attr name="pstsDividerWidth" format="dimension" />
It would be useful if the setter and getter would be available to change that. Now I have to download the project, add it to my project and do that change.
In case you want to change the divider's width heres is my two lines solution:
In .java file:
And in
attrs.xml
: