开发者

Button HorizontalFieldManager, change background image on focus?

开发者 https://www.devze.com 2023-01-16 03:04 出处:网络
I want a horizontal field manager to act as a button, changing the background image on focus: set background image for HorizontalFieldManager and it should change onfocus(select) and it should act

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

精彩评论

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