I realize this tends to come up a fair amount but I cannot get a backgroundImage to appear on a Window element to save my life.
index.tss"#index": {
backgroundImage:'/someBackground.png'
}
index.xml<Alloy>
<Window id="index">
</Window>
</Alloy>
index.js$.index.open();
As a work around I can make it work by adding an ImageView in a composite layout, but that is a pretty lame workaround. At least it demonstrates the image is accessible on the device.
- SDK 3.4.0.GA
- CLI 3.4.0
- Alloy 1.5.1
- Android 4.4.2(19)
- ti.android.fastdev = false