0
在ViewPager
中拥有3个页面并在平板电脑上运行vs在智能手机上运行时,页面标题的文本大小必须更改。如何根据屏幕大小更改Android ViewPager页面标题文本大小
任何ide?
我尝试在XML设置PagerTabStrip
文字大小,但是这是不可能的
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:attr/windowBackground">
<android.support.v4.view.PagerTabStrip
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</android.support.v4.view.ViewPager>
谢谢你很奇怪你的权利不知道发生了什么事 – Erik