- 博客(3)
- 资源 (4)
- 收藏
- 关注
翻译 android修改preference中view字体等属性
首先,定义layout文件:custom_preference.xml xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height=
2013-08-16 13:26:26
1791
翻译 程序启动时的黑屏问题
默认的情况下,程序启动时,会有一个黑屏的时期,原因是,首个activity会加载一些数据,比如初始化列表数据、向服务器发送请求获取数据等等。去除方法1.在style里面添加一个style: true true @null2.将主题设置到启动activity的主题里面android:theme="@style/ContentOve
2013-08-16 12:56:46
897
原创 实现自定义窗口title
第一步,实现自定义标题栏,需要在onCreate方法里这样写requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);setContentView(R.layout.main);getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.titlebar);注意:reque
2013-08-16 12:53:39
818
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人