开发者

Button HorizontalFieldManager, change background image on focus?

I want a horizontal field manager to act as a button, changing the background image on focus:

Button HorizontalFieldManager, change background image on focus?

set background image for HorizontalFieldManager and it should change onfocus(select) and it should act as a button to push some other screen...

Under that Horiz开发者_JAVA百科ontalFieldManager I want to add an image and labels to display some information...

I want it exactly like in the screen shot, there are no edit fields..


How about using ListField for it,Do you want a single component or multiple components in the list? If Single u can move to what you choose,or else develop your custom listfield


Call something like:

getMainManager().setBackground(BackgroundFactory.createLinearGradientBackground(Color.WHITE, Color.GRAY, Color.DIMGRAY, Color.DIMGRAY));

to change the background of your screen.


onFocus="this.style.width = '260px'; this.style.background='url(Icalorieimage/account/username_text.png)'" 
                onBlur="this.style.width = '260px'; this.style.background='url(Icalorieimage/account/username_text.png)' "
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜