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>

原文地址:https://www.cnblogs.com/vus520/p/2835254.html