Android 小技能

0x00 去掉顶部自带栏

public class MainActivity extends Activity {  

@Override  
protected void onCreate(Bundle savedInstanceState) {  
    super.onCreate(savedInstanceState);  
    //这句就是去掉程序的title  
    requestWindowFeature(Window.FEATURE_NO_TITLE);  
    setContentView(R.layout.activity_main);  
}  
}  

参考链接http://blog.csdn.net/kaypro/article/details/9858807

Comments