szf_styles.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. <style name="szf_dialog" parent="@android:style/Theme.Dialog">
  14. <item name="android:windowFrame">@null</item>
  15. <!-- 边框 -->
  16. <item name="android:windowIsFloating">true</item>
  17. <!-- 是否浮现在activity之上 -->
  18. <item name="android:windowIsTranslucent">false</item>
  19. <!-- 半透明 -->
  20. <item name="android:windowNoTitle">true</item>
  21. <!-- 标题 -->
  22. <item name="android:windowBackground">@+color/szf_full_alpha</item>
  23. </style>
  24. <style name="dialog_text">
  25. <item name="android:textSize">16.0sp</item>
  26. <item name="android:textColor">#ffff6600</item>
  27. </style>
  28. <style name="navigation_title">
  29. <item name="android:layout_width">wrap_content</item>
  30. <item name="android:layout_height">wrap_content</item>
  31. <item name="android:textColor">#FFFFFFFF</item>
  32. <item name="android:textSize">20dip</item>
  33. <item name="android:layout_centerInParent">true</item>
  34. <item name="android:layout_weight">1</item>
  35. <item name="android:layout_gravity">center_vertical</item>
  36. <item name="android:gravity">center_horizontal</item>
  37. <!-- <item name="android:windowFullscreen">true</item> -->
  38. </style>
  39. <style name="dialog_title">
  40. <item name="android:textSize">23.0sp</item>
  41. <item name="android:textColor">#FFFFFFFF</item>
  42. <item name="android:gravity">center_horizontal</item>
  43. <!-- 半透明 -->
  44. <item name="android:windowNoTitle">true</item>
  45. </style>
  46. <style name="dialog_name">
  47. <item name="android:textSize">20.0sp</item>
  48. <item name="android:textColor">#ffffffff</item>
  49. </style>
  50. <style name="styleTextShadow">
  51. <item name="android:layout_gravity">center_vertical</item>
  52. <item name="android:textSize">20dip</item>
  53. <item name="android:textStyle">bold</item>
  54. <item name="android:textColor">#000000</item>
  55. <item name="android:shadowColor">#ffffff</item>
  56. <item name="android:shadowDy">2</item>
  57. <item name="android:shadowRadius">1</item>
  58. </style>
  59. <style name="passworddialog" parent="@android:style/Theme.Dialog">
  60. <item name="android:windowFrame">@null</item>
  61. <!-- 边框 -->
  62. <item name="android:windowIsFloating">true</item>
  63. <!-- 背景颜色不变暗 -->
  64. <item name="android:backgroundDimEnabled">false</item>
  65. <!-- 是否浮现在activity之上 -->
  66. <item name="android:windowIsTranslucent">false</item>
  67. <!-- 半透明 -->
  68. <item name="android:windowNoTitle">true</item>
  69. <!-- 标题 -->
  70. <item name="android:windowBackground">@+color/szf_full_alpha</item>
  71. </style>
  72. <style name="dialog_little" parent="@android:style/Theme.Dialog">
  73. <item name="android:windowFrame">@null</item>
  74. <!-- 边框 -->
  75. <item name="android:windowIsFloating">true</item>
  76. <!-- 是否浮现在activity之上 -->
  77. <item name="android:windowIsTranslucent">true</item>
  78. <!-- 半透明 -->
  79. <item name="android:windowNoTitle">true</item>
  80. <!-- 标题 -->
  81. <item name="android:windowBackground">@+color/szf_full_alpha</item>
  82. <item name="android:backgroundDimEnabled">false</item>
  83. <!-- 屏幕背景不变暗 -->
  84. </style>
  85. <!-- Application theme. -->
  86. <style name="AppTheme" parent="AppBaseTheme">
  87. <!-- All customizations that are NOT specific to a particular API-level can go here. -->
  88. </style>
  89. </resources>