摘要:
android默认的title只是显示字符串,有时候为了吸引用户的眼球或者操作方便,得搞点个性化的东西。实现方法是在onCreate()方法开始,加入requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(view); getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title); 注意这三行代码的顺序不能随意改变。在R.layout.title<?xml version="1.0" encoding=" 阅读全文
posted @ 2012-03-12 23:01
android开发实例
阅读(7719)
评论(0)
推荐(0)

浙公网安备 33010602011771号