In pagerSlidindTabStrip text display incomplete for Moto G 4+ android 7 -


in project have used pagerslidingtabstrip library .now in other device display proper text in pagerslidingtabstrip . in moto g 4+ displays incomplete text in pagerslidingtabstrip. display "entertain” instead "entertainment” . need change, plz me. in advance.

 <com.astuetz.pagerslidingtabstrip         android:id="@+id/videotabs"         android:layout_width="match_parent"         android:layout_height="50dp"         android:background="@color/toolbar_color"         android:paddingleft="11dp"         android:layout_marginright="0dp"         android:paddingright="0dp"         android:textsize="15sp"         app:pstsactivatetextcolor="@color/white"         app:pstsdeactivatetextcolor="@color/white"         app:pstsdividercolor="@color/toolbar_color"         app:pstsindicatorheight="0dp"         app:pststabbackground="@color/toolbar_color"         app:pststextallcaps="false"         app:pstsunderlineheight="0dp"         android:layout_toleftof="@+id/ivnextfragment"/> 

in java file

   public void init(view rootview) {       tabs = (pagerslidingtabstrip) rootview.findviewbyid(r.id.videotabs);       mtabslinearlayout = ((linearlayout) tabs.getchildat(0));        pager = (viewpager) rootview.findviewbyid(r.id.viewpager);      //        tabs.setshouldexpand(true);      pager.setoffscreenpagelimit(listpublishername.size());       setupviewpager(pager);      tabs.setviewpager(pager);      tabs.setforegroundgravity(gravity.center);      pager.setcurrentitem(0);      tabs.settabswitch(true);       textview tv = (textview) mtabslinearlayout.getchildat(pos);      tv.settextsize(16);      tv.settypeface(null, typeface.bold);    } 

screen right nowenter image description here

add tabs.setdistributeevenly(false);


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -