Open hexi opened 6 years ago
I have the same issue
Same here !
I encountered this and migrated to TabLayout https://developer.android.com/reference/android/support/design/widget/TabLayout.html
For me it was as simple as changing the class and #setViewPager to #setupWithViewPager.
i have same issue ,How to solve it?
I don't know why it must crash at here
still crash at here! @zhuangdaoyuan
It looks like it has been fixed
Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12 at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:666) at com.astuetz.PagerSlidingTabStrip.(PagerSlidingTabStrip.java:148)
at com.astuetz.PagerSlidingTabStrip.(PagerSlidingTabStrip.java:106)
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:619)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
at com.futures.appframework.BaseActivity.setContentView(BaseActivity.java:92)
at com.baidao.futures.module.message.MessageActivity.onCreate(MessageActivity.java:70)