Closed nwhessel closed 9 years ago
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:theme="@style/ThemeOverlay.AppCompat.ActionBar">
<com.astuetz.PagerSlidingTabStrip
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</android.support.v7.widget.Toolbar>
You can set the height you want to the toolbar and it will work. tested.
When in lanscape the tabs height doesn't match the toolbar height at 56dp. They are instead only 48dp tall. This causes the current tab indicator to hover 4dp above the bottom of the toolbar.