随笔分类 -  android

摘要:一、在代码中设置public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //去除title requestWindowFeature(Window.FEATURE_NO_TITL... 阅读全文
posted @ 2015-06-28 23:28 superstar 阅读(1553) 评论(0) 推荐(0)
摘要:在实际开发中LayoutInflater这个类还是非常有用的,它的作用类似于findViewById()。不同点是LayoutInflater是用来找res/layout/下的xml布局文件,并且实例化;而findViewById()是找xml布局文件下的具体widget控件(如Button、Tex... 阅读全文
posted @ 2015-06-14 11:15 superstar 阅读(957) 评论(0) 推荐(0)