现在的位置: 首页 > 综合 > 正文

android:theme & android:style

2014年02月01日 ⁄ 综合 ⁄ 共 681字 ⁄ 字号 评论关闭

 

 http://www.189works.com/article-30428-1.html

 http://wyoojune.blog.163.com/blog/static/57093325201251131057207/

android:theme="@android:style/"

 

 android:theme="@android:style/Theme.DeviceDefault.Light.NoActionBar"  这个文字就好了,但是布局还是不对。。。

 

target的问题,改成3.0之后就没有3个点了。

因为想自定义preference,但是对style和theme又不熟悉,于是看了看

http://blog.csdn.net/zhangj1012003_2007/article/details/5664738

下面两个文档是android platform提供的style & theme,如果你不知道该修改哪些你想修改的东西的属性,来这里查查,里面分类挺清楚的,再一个办法就是看android的源码,这样进步会很快的。

https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/themes.xml

https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/styles.xml

抱歉!评论已关闭.