Mobilefirst 6.3 Css bcakground images not showing In android device -


i trying use background image in mobilefirst project. works fine on web browser , simulator.

but background images not showing in android device.

this css code

.brown-inner { background: url("../images/bg_board_brown_center.png") repeat-y scroll left top transparent; padding: 10px; text-align: center; }

change "images" "images" , should work.

from:

background: url("../images/bg_board_brown_center.png") .... 

to:

background: url("../images/bg_board_brown_center.png") .... 


i've done similar test:

  1. created new project , application, added android environment
  2. in my-app\common\css\main.css added following:

    body { background: url("../images/icon.png");} 
  3. launched app in android emulator. result:

    enter image description here


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -