Fix tab gravity
This commit is contained in:
parent
94ee4e7fb5
commit
e542a8d8e2
@ -25,8 +25,9 @@
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/Theme.ActionBar.Tab.Filled"
|
||||
app:tabIndicatorColor="@android:color/white" />
|
||||
android:theme="@style/Theme.ActionBar.Tab"
|
||||
app:tabGravity="fill"
|
||||
app:tabIndicatorColor="@android:color/white"/>
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
|
@ -13,13 +13,7 @@
|
||||
<!--====-->
|
||||
<!--Tabs-->
|
||||
<!--====-->
|
||||
<style name="Theme.ActionBar.Tab" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
||||
<item name="tabIndicatorColor">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ActionBar.Tab.Filled">
|
||||
<item name="tabGravity">fill</item>
|
||||
</style>
|
||||
<style name="Theme.ActionBar.Tab" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
|
||||
|
||||
<!--===========-->
|
||||
<!--AlertDialog-->
|
||||
|
Loading…
Reference in New Issue
Block a user