Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
各タブを PagerSlidingTabStrip の最も幅の広いタブと同じ幅にしたいです。タブをスクロールできるように、タブを画面幅を超えて拡張したい.
開発者サイト SlidingTabsBasic のサンプルを使用している場合。次に、メソッド( SlidingTabLayout クラスの下)でテキストビューの幅を設定できます。
protected TextView createDefaultTabView(Context context)