android Style应用
style.xml的用法
http://www.eoeandroid.com/thread-228860-1-1.html
android中的style属性值
http://www.eoeandroid.com/thread-208238-1-1.html
android style继承
http://www.eoeandroid.com/thread-208228-1-1.html
Android Style与Theme
http://www.eoeandroid.com/thread-71762-1-1.html
帖子正文:
<application
android:theme="@style/Theme.MyTitle" >
< /application>
< resources>
<style name="animStyle">
<item name="android:indeterminateDrawable">@anim/progressbar</item>
</style>
<style name="mypopwindow_anim_style">
<item name="android:windowEnterAnimation">@anim/popshow_anim</item>
<item name="android:windowExitAnimation">@anim/pophidden_anim</item>
</style>
< !--去掉应用和标题栏中间阴影-->
<style name="Theme.MyTitle" parent="android:style/Theme.Light">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
< /style>
<style name="perference_set_activity">
<item name="android:windowBackground">@drawable/listbg</item>
<!-- 窗口背景 -->
<item name="android:focusable">false</item>
<item name="android:textColor">#ff000000</item>
<!-- 字体颜色 -->
<item name="android:colorBackgroundCacheHint">#00000000</item>
<!-- 背景缓存色透明,避免拖动全黑 -->
<item name="android:windowNoTitle">false</item>
<!-- 是否有标题 -->
</style>
更多相关文章
- android 背景边框变圆角
- Android中TextView中加图片,超链接,部分字或者背景变色。。。
- Android 背景渐变 渐变背景 shape
- Android设置Activity背景为透明style
- Android 设置圆角背景
- Android:res之selector背景选择器
- android设置透明背景
- android 4.2修改设置菜单的背景颜色
- Android selector(背景选择器) , shape(设定形状)