Jan
4
G1的屏幕的分辨率是320×480,虽说不小但也谈不上大,所以有的应用要使用起来,最好还是希望把状态栏(Status Bar)和标题栏(Title Bar)也隐藏了,这样就可以有更大的屏幕空间给应用程序。
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
final Window win = getWindow();
// No Statusbar
win.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
// No Titlebar
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.mylayout);
}
摘自anddev
December 15th, 2009 at 10:22
原来是这样弄的。
January 16th, 2010 at 3:22
January 17th, 2010 at 3:31
January 24th, 2010 at 2:34
February 1st, 2010 at 3:26
March 4th, 2010 at 10:50
If you are willing to buy real estate, you will have to get the business loans. Furthermore, my mother commonly utilizes a financial loan, which seems to be really useful.