Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style name="Theme.ArgleBargle" parent="@style/Theme.AppCompat.Light">
- <item name="colorPrimary">@color/primary</item>
- <item name="colorAccent">@color/accent</item>
- <item name="vpiIconPageIndicatorStyle">@style/Widget.IconPageIndicator</item>
- <item name="vpiTabPageIndicatorStyle">@style/Widget.TabPageIndicator</item>
- <item name="windowActionBar">false</item>
- <item name="windowActionBarOverlay">true</item>
- <item name="android:windowActionBarOverlay">true</item>
- <item name="android:windowBackground">@color/background</item>
- </style>
- <style name="CustomActionBar" parent="@style/ThemeOverlay.AppCompat.Light">
- <item name="android:windowActionBarOverlay">true</item>
- <!-- Support library compatibility -->
- <item name="windowActionBarOverlay">true</item>
- </style>
- <android.support.v7.widget.Toolbar
- android:id="@+id/actionbar"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:minHeight="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- app:theme="@style/CustomActionBar"/>
- actionbar = (Toolbar) findViewById(R.id.actionbar);;
- setSupportActionBar(actionbar);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement