; paras[X - 1].parentNode.insertBefore(ad1, paras[X]); } if (paras.length > X + 4) { var ad1 = document.createElement('div'); ad1.className = 'ad-auto-insert ad-first'; ad1.innerHTML = ` ; paras[X + 3].parentNode.insertBefore(ad2, paras[X + 4]); } if (isMobile && paras.length > X + 8) { var ad1 = document.createElement('div'); ad1.className = 'ad-auto-insert ad-first'; ad1.innerHTML = ` ; paras[X + 7].parentNode.insertBefore(ad3, paras[X + 8]); } });

Advertisement

Showing posts with label no action bar. Show all posts
Showing posts with label no action bar. Show all posts

Android Tabs with out ActionBar

In the Previous post, I created a project with VPI Libary and AppCompat Library to Show Swipy Tabs in android.

But , If i don't want the ActionBar at the Top, We can hide/remove it through styles.xml file

Styles.xml
=========

NoActionBar

 <style name="NoActionBar" parent="Theme.AppCompat.Light">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
    </style>



For full Screen

 <style name="NoActionBar" parent="Theme.AppCompat.Light">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
    <item name="android:windowFullscreen">true</item>
    </style>





ScreenShot of the app
----------------------
Android tabs without ActionBar




















UPTET news