web mobile template
make your web app
look like a native mobile app




A few things are necessary for your web app running in a browser to look like a native Android or iOS app.
  • Go fullscreen to remove the browser window stuff:
    (title bar, menu bar, bookmark toolbar, status bar, etc.)
  • Disable the browser's normal right-click context menu
  • Include fixed title and navigation bars
  • Customized scrollbars
  • Include a function for a drop-down settings menu
  • Include functions for popups such as "Toast" and "Snackbar"

This template starts off with a splash screen that has a button to go to full screen. The splash button is required since Chrome won't go to full screen without user interaction.

Each of your app screens are separate HTML files.
This sample has three navigation sections (screens).


HTML-index:


HTML-home, themes and popups pages:


CSS:


Javascript:



This code somewhat makes your web app look and act like a native android app.
See this template on GitHub.