Tôi cần thay đổi màu phông chữ cho PagerTabStrip trong ViewPager cho ứng dụng Android của tôi. Đây là bố cục xml cho cùng một. Có cách nào tôi có thể làm điều này?Màu phông chữ tùy chỉnh cho PagerTabStrip trong ViewPager cho ứng dụng Android của tôi
<android.support.v4.view.ViewPager
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/head"
android:id="@+id/myfivepanelpager">
<android.support.v4.view.PagerTabStrip
android:id="@+id/pgstrip"
android:layout_width="fill_parent"
android:background="@color/strip"
android:layout_height="@dimen/pagerstripht"
android:layout_gravity="top"
/>
</android.support.v4.view.ViewPager>
Không chắc chắn tại sao câu trả lời này đã bị bỏ phiếu? Đặt thuộc tính 'textColor' thực sự thay đổi màu của văn bản trong một' PagerTabStrip'. –
Nó thực sự làm việc !! Nhưng tôi không biết tại sao gợi ý Android không hiển thị tùy chọn cụ thể này –