Dear export,
I have rows TextView in egl UI pages, I need to add images in the page to help the rows of TextRows meaningful.
I used an Image control in the Palette, but I cannot make it work. My code is :
CRSRAILIMG Image{ layoutData = new AttachmentLayoutData{
attachmentTypeTop = CommonLibrary.ViewLib.TYPE_PARENT, offsetTop = 168,
attachmentTypeLeft = CommonLibrary.ViewLib.TYPE_PARENT, offsetLeft = 374,
attachmentTypeRight = CommonLibrary.ViewLib.TYPE_NONE,
attachmentTypeBottom = CommonLibrary.ViewLib.TYPE_NONE,
offsetRight = 70,
offsetBottom = 71},
position="absolute",
src = "images/bitmaps/CRSSRAIL.png",
text = "IMG"
};
I attached the display.
Could you please teach me how to display image in EGL UI.
Thanks,
Eric
------------------------------
Eric Zuo
------------------------------