Support for Webview with Splash Screen and Scrollable Tabs

Popular questions for this item

Important information for buyers!

We are not providing support for our items due to high load on projects. When committing a purchase you agree to rely on the documentation file we provide with the app.

What tools do I need in order to customize / edit the product?

You need Android Studio. You can download it from here

Ho does it works?

It uses the Android’s Webview component to display your website.

What kind of website can be integrated with this application?

Basically you can integrate almost every website, but please be advised that you could have problems, if you try to integrate a complex web application with the product. Our app uses the native Android’s Webview Component, which component is something similar to a web browser but much more limited. So there is a possibility that some complex operations won’t work correctly if those operations are integrated with complex JavaScripts or other technologies. So we recommend you to contact us before purchase and we will prepare a demo .apk with your website’s url address and you will be able to test all features by yourself. We prefer this, because we don’t want unsatisfied customers.

Do I need programing skills to customize the code?

No, you can customize the code very easy without any programing skills. You just need to follow our detailed guide.

What kind of website do I need to have to use the product?

You can use the product with all kind of websites (Static, Wordpress, Joomla, Magento, Prestashop, OpenCart and etc.).

How can I change application’s name?

Open your project in Eclipse and open to edit the following file:

After that find the following line:
<string name=”app_name”>WebViewSplash</string>
Just change the “WebViewSplash” with desired name.

Is there a limit for the scrollable tabs?

No there is no limit. The area for the tabs is scrollable so you can put there as many as you need.

Should I have a “Responsive” website to use the product?

It is recommended to have “a Responsive” website if you want to left good user experiece to your customers, but of course it’s not mandatory so you can display every single website in our application.

Is there a way to keep the scrollable tabs visible at start?

If you want the tabs’ menu to be visible at start add these two lines of code (in file):;

right after:

scroller = (View) findViewById(;

How can I remove the tabs?

Open file and find the following line of code:


After that just comment this line with // in front of the initSlider(); Example: //initSlider();

Prevent the webview to reload the page when you change the phone’s orientation.

Replace the following line >


in AndroidManifest.xml file > in android:name=”.WebViewActivity” activity with the following code >


How to prevent the app to be on the fullscreen?

Open the AndroidManifest.xml file and find the following code:
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >

Remove the last line (android:theme=”@android:style/Theme.NoTitleBar.Fullscreen”) and the webview will not be on fullscreen and you will have Notifications Bar.

How to disable ZOOM?

To disable pinch to zoom. Open the and put after:

line 198
(webviewProgress = (ProgressBar) findViewById( ; ) 
Regards, dmb TEAM

How to remove/disable the Loading Animation?

Open the file and go to line 87, where you will find the following code snippert:;

You just have to comment this line by adding double slash // before the code:


Save the file and you are ready.

How to move AdMob to the bottom?

Open and find the following line of code:

p.addRule(RelativeLayout.BELOW, webviewProgress.getId());

Modify this line to the following:


How can I enable cookies?

Open and add the following line




Can I controll the time of displaying the Splash Screen?


Yes you can control that time. Please open the and find the following line:

mHandler.sendMessageDelayed(msg, 4000);

Change the 4000 number with the desired delay. This value is in milliseconds.

How Can I disable the Ads?

You can control the ads in, where you have a constant, which can be set to true or false:

    // -------------------AdMob configuration -------------------

     * Boolean flag for enable/disable AdMob funtionality
    private static boolean isAdmobEnable = true;

Just set this variable IsAdmobEnable to false and you will disable the ads.

The app doesn’t display my website’s mobile version, how to fix this?

Please try the following:

1) Open and find the following line:


2) Replace that line with the following code snippet:

webview.getSettings().setUserAgentString("Mozilla/5.0 (Linux; Android 4.4; Nexus 4 Build/KRT16H) AppleWebKit/537.36
(KHTML, like Gecko) Version/4.0 Chrome/ Mobile Safari/537.36");


webview.getSettings().setUserAgentString("Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; Nexus One Build/FRG83) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1");

If none of the described above works, please try with more variants provided here:

How to set the app to work only in Portrait mode?

Open AndroidManifest and look for activity items. Inside put the following two additional attributes:

So the final variant for .SplashScreenActivity would be:

                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>

How I can change the background color of the tabs container?

There is an XML file that is responsible for the background color: /res/values/colors.xml

Inside there is a defined color:

<color name="translucent_white">#CCffffff</color>

In order to understand how to define the color, please read this article:

So, before defining the hex color – in our case ffffff – you should define the transparency – in our case CC, which is 80% transparent white.

How to open URLs that are not part of my domain in external browser?

Open the class and look for the shouldOverrideUrlLoading method. There you’ll find and if, else statement. You should add one additional else if statement to it. Just go to the end of the construction and add above the last else, the following code:

} else if (!Uri.parse(url).getHost().endsWith("")) {
    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
} else {

This means that all URLs that are not having as hostname will be opened with external browser.

How to disable the scroll bar?

Use the setVerticalScrollBarEnabled method and set it to false

Show more