styles.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <resources>
  2. <!--
  3. Base application theme, dependent on API level. This theme is replaced
  4. by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
  5. -->
  6. <style name="AppBaseTheme" parent="android:Theme.Light">
  7. <!--
  8. Theme customizations available in newer API levels can go in
  9. res/values-vXX/styles.xml, while customizations related to
  10. backward-compatibility can go here.
  11. -->
  12. </style>
  13. <!-- Application theme. -->
  14. <style name="AppTheme" parent="AppBaseTheme">
  15. <!-- All customizations that are NOT specific to a particular API-level can go here. -->
  16. </style>
  17. <style name="Yuwei.Widget.ListView" parent="@android:style/Widget.ListView">
  18. <item name="android:cacheColorHint">@color/cacheColorHint</item> //设置为“#00000000”,避免出现滚动时有黑色背景
  19. <item name="android:divider">@color/listDivider</item> //设置分割线样式,android:dividerHeight 必须为非0
  20. <item name="android:dividerHeight">1.0px</item> //分割线高度
  21. </style>
  22. <style name="text_18_ffffff">
  23. <item name="android:textSize">18.0sp</item>
  24. <item name="android:textColor">#ffffffff</item>
  25. </style>
  26. <style name="text_16_666666">
  27. <item name="android:textSize">15.0sp</item>
  28. <item name="android:textColor">#ff666666</item>
  29. </style>
  30. <style name="sdw_79351b">
  31. <item name="android:shadowColor">#ff79351b</item>
  32. <item name="android:shadowDx">0.0</item>
  33. <item name="android:shadowDy">1.0</item>
  34. <item name="android:shadowRadius">1.0</item>
  35. </style>
  36. <style name="text_15_ffffff_sdw" parent="@style/sdw_79351b">
  37. <item name="android:textSize">15.0dip</item>
  38. <item name="android:textColor">#ffffffff</item>
  39. </style>
  40. <style name="Dialog" parent="android:style/Theme.Dialog">
  41. <item name="android:background">#00000000</item>
  42. <item name="android:windowBackground">@android:color/transparent</item>
  43. <item name="android:windowNoTitle">true</item>
  44. <item name="android:windowIsFloating">true</item>
  45. </style>
  46. </resources>