PDA

View Full Version : loading image



javismiles
23 Jul 2011, 12:29 PM
hi :)
for a sencha app for an Android phone, how can i set an initial loading image to appear?
i see options for iphone, what about android?
so that while the framework is loading, a loading picture displays?
Im using Ext.Application

and how can i make that the picture appears centered and fills the whole screen also?
thank you so much

jav
:)

fx-mike
27 Jul 2011, 2:54 AM
Either read up on the useLoadMask config option of http://dev.sencha.com/deploy/touch/docs/#?class=Ext.Application or simply put a background on the body, e.g.


body {
background: url(mask.png);
}


The background will be covered as soon as the first view loads