<!-- the LinearLayout with orientation="vertical" moves the ViewPager below the AppBarLayout. -->
<LinearLayout
- android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_width="match_parent"
android:orientation="vertical" >
<!-- We need to set android:background="@color/blue" here or any space to the right of the TabLayout on large devices will be white. -->
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:background="@color/blue"
- android:theme="@style/PrivacyBrowser.AppBarOverlay" >
+ android:theme="@style/AppBarOverlay" >
<!-- android:theme="@style/PrivacyBrowser.DarkAppBar" makes the text and icons in the AppBar white. -->
<android.support.v7.widget.Toolbar
android:id="@+id/about_toolbar"
- android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_width="match_parent"
android:background="@color/blue"
- android:theme="@style/PrivacyBrowser.DarkAppBar"
- app:popupTheme="@style/PrivacyBrowser.PopupOverlay" />
+ android:theme="@style/DarkAppBar"
+ app:popupTheme="@style/LightPopupOverlay" />
<android.support.design.widget.TabLayout
android:id="@+id/about_tablayout"