摘要:
1.自定义Theme。 在res/values/styles.xml中的resources块中添加如下代码: 在AndroidMainfest.xml文件中使用该Theme。根据自己的需要在application或者activity块中添加如下语句:android:theme="@style/test"2.自定义TitleBar。 在代码中加载界面的地方添加如下代码: requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.activity_main); ... 阅读全文
posted @ 2013-07-25 16:51
buptpatriot
阅读(292)
评论(0)
推荐(0)

浙公网安备 33010602011771号