![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android-UI
文章平均质量分 54
ZXL465
这个作者很懒,什么都没留下…
展开
-
Android:全屏或者取消标题栏
第一种:一般是入门时经常使用的方法requestWindowFeature(Window.FEATURE_NO_TITLE);//去掉标题栏注意:这句一定要写在setContentView( )方法前面,不然会报错第二种:在AndroidManifest.xml文件中定义<application android:icon="@drawable/icon" android:label="@string原创 2016-02-27 17:12:24 · 417 阅读 · 0 评论 -
Android:设置背景色以及theme(主题)设置(一)
设置背景色一般有如下三种方法 一、直接在xml文件里设置:android:background="#ffffff" //RGB16进制表现的方法二、在java文件里设置:LinearLayout myLayout = (LinearLayout) findViewById(R.id.linearLayout); myLayout.setBackgroundColor(Color.WHITE);或者原创 2016-02-29 11:08:12 · 7080 阅读 · 0 评论