如何修改Screen背景?How to - Change the background color of a screen
2010-09-24 18:10
495 查看
How to - Change the background color of a screen
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/How_to_-_Change_the_background_color_of_a_screen.html?nodeid=800335&vernum=0
在BlackBerry 平台5.0.0中,你可以在Screen的构造方法中用以下代码修改屏幕的背景颜色,甚至背景图片。
VerticalFieldManager manager;
manager = (VerticalFieldManager) getMainManager();
Background bg = BackgroundFactory.createSolidBackground(Color.LIGHTBLUE);
manager.setBackground(bg);
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/How_to_-_Change_the_background_color_of_a_screen.html?nodeid=800335&vernum=0
在BlackBerry 平台5.0.0中,你可以在Screen的构造方法中用以下代码修改屏幕的背景颜色,甚至背景图片。
VerticalFieldManager manager;
manager = (VerticalFieldManager) getMainManager();
Background bg = BackgroundFactory.createSolidBackground(Color.LIGHTBLUE);
manager.setBackground(bg);
相关文章推荐
- How to change the background color of form using C++ - 如何用C++改变窗体的颜色
- qt 之 How to Change the Background Color of QWidget
- How To Change the Background Color of a Tab Control
- How to change the background color of an Edit Box
- How to customize the background color of a UITableViewCell? 修改UITableViewCell背景色
- Change the background color of the header of a List Control
- (Sharepoint 2010) Change the background and font color of text for a web part header
- how to change the background color of actionbar
- eclipse如何修改dynamic web module version -Cannot change version of project facet Dynamic Web Module to
- Preserving the state of an Android WebView on screen orientation change
- <转>Change the Background of a selected ListBox Item
- Change the xterm background color for ICEWM
- CHANGE THE MAC 10.7 LION LOGIN SCREEN BACKGROUND IMAGE?
- how to change the background of actionbar.tab
- gedit set the color of background
- How to change the Text color of Menu item in Android?
- In Delphi XE2 FireMonkey - How do i change the color of a button after pressing it
- Change the Foreground and Background Colour of Staic Text Control in VC++
- How to change background color of gedit embedded terminal
- Echarts插件的所有显示方式设置 theme = { // 全图默认背景 // backgroundColor: ‘rgba(0,0,0,0)’,