Android Tutorial How to make a simple loading screen

Here is a simples exemple how to make a simple loading screen with a timer.
you can use to make a splash screnn too.

is based on webview
-html
-css

The html and gif is on files folder

This is the simple code to adjust to any size device!

B4X:
<html>
<body>
<style type="text/css">
#centro {
    width:200px;
    height:200px;
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-100px;
    margin-left:-100px;
}
</style>

<img src="gif.gif" id="centro">

</body></html>


Sorry for my english i m Brasilian xD
 

Attachments

  • loading.zip
    378.6 KB · Views: 2,045
  • 1.png
    1.png
    3 KB · Views: 1,302
  • 2.png
    2.png
    5.7 KB · Views: 1,278
Last edited:
Top