Advertisement
Guest User

munjeni

a guest
Jun 26th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.88 KB | None | 0 0
  1. commit 349a61163df3b9e108f89916966fb095695d6ca6
  2. Author: munjeni <[email protected]>
  3. Date: Wed Jun 26 22:09:51 2013 +0200
  4.  
  5. removed miui ids from AntiSpam and implemented miui framework res things, no need to use miui framework anymore, but forgot to implement V5.Widget.ActionBar\!\!\!
  6.  
  7. diff --git a/AntiSpam/AndroidManifest.xml b/AntiSpam/AndroidManifest.xml
  8. index c824fd4..cfa671c 100644
  9. --- a/AntiSpam/AndroidManifest.xml
  10. +++ b/AntiSpam/AndroidManifest.xml
  11. @@ -2,7 +2,7 @@
  12. <manifest android:sharedUserId="android.uid.system" android:versionCode="16" android:versionName="4.1.2-eng..20130503.120351" package="com.miui.antispam"
  13. xmlns:android="http://schemas.android.com/apk/res/android">
  14. <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" />
  15. - <application android:theme="@miui:style/V5.Theme.Light" android:label="@string/app_name" android:icon="@drawable/app_icon">
  16. + <application android:theme="@style/V5.Theme.Light" android:label="@string/app_name" android:icon="@drawable/app_icon">
  17. <activity android:theme="@style/AntiSpam.Theme.Tab" android:label="@string/app_name" android:name=".firewall.FirewallTab" android:clearTaskOnLaunch="true" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize" android:uiOptions="splitActionBarWhenNarrow">
  18. <intent-filter>
  19. <action android:name="android.intent.action.SET_FIREWALL" />
  20. @@ -12,13 +12,13 @@
  21. <category android:name="android.intent.category.DEFAULT" />
  22. </intent-filter>
  23. </activity>
  24. - <activity android:theme="@miui:style/V5.Theme.Light.Settings" android:label="@string/fw_action_settings" android:name=".firewall.ActionSettings" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  25. + <activity android:theme="@style/V5.Theme.Light.Settings" android:label="@string/fw_action_settings" android:name=".firewall.ActionSettings" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  26. <intent-filter>
  27. <action android:name="android.intent.action.VIEW" />
  28. <category android:name="android.intent.category.DEFAULT" />
  29. </intent-filter>
  30. </activity>
  31. - <activity android:theme="@miui:style/V5.Theme.Light.Settings" android:label="@string/fw_time_settings" android:name=".firewall.TimeSettings" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  32. + <activity android:theme="@style/V5.Theme.Light.Settings" android:label="@string/fw_time_settings" android:name=".firewall.TimeSettings" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  33. <intent-filter>
  34. <action android:name="android.intent.action.VIEW" />
  35. <category android:name="android.intent.category.DEFAULT" />
  36. @@ -42,14 +42,14 @@
  37. <category android:name="android.intent.category.DEFAULT" />
  38. </intent-filter>
  39. </activity>
  40. - <activity android:theme="@miui:style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.AddFirewall" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  41. + <activity android:theme="@style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.AddFirewall" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  42. <intent-filter>
  43. <action android:name="android.intent.action.ADD_FIREWALL" />
  44. <data android:mimeType="vnd.android.cursor.item/firewall-blacklist" />
  45. <category android:name="android.intent.category.DEFAULT" />
  46. </intent-filter>
  47. </activity>
  48. - <activity android:theme="@miui:style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.MarkNumberActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  49. + <activity android:theme="@style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.MarkNumberActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
  50. <intent-filter>
  51. <action android:name="android.intent.action.MARK_ANTISPAM" />
  52. <category android:name="android.intent.category.DEFAULT" />
  53. @@ -61,7 +61,7 @@
  54. <category android:name="android.intent.category.DEFAULT" />
  55. </intent-filter>
  56. </activity>
  57. - <activity android:theme="@miui:style/V5.Theme.Light.Settings" android:label="@string/firewall_settings_tab_title" android:name=".firewall.FirewallSettings" android:screenOrientation="portrait" />
  58. + <activity android:theme="@style/V5.Theme.Light.Settings" android:label="@string/firewall_settings_tab_title" android:name=".firewall.FirewallSettings" android:screenOrientation="portrait" />
  59. <receiver android:name=".firewall.FirewallReceiver">
  60. <intent-filter>
  61. <action android:name="android.intent.action.BOOT_COMPLETED" />
  62. diff --git a/AntiSpam/apktool.yml b/AntiSpam/apktool.yml
  63. index e9de673..18020cd 100644
  64. --- a/AntiSpam/apktool.yml
  65. +++ b/AntiSpam/apktool.yml
  66. @@ -4,4 +4,3 @@ isFrameworkApk: false
  67. usesFramework:
  68. ids:
  69. - 1
  70. - - 6
  71. diff --git a/AntiSpam/res/drawable-hdpi/v5_bottom_bar_top_line_light.9.png b/AntiSpam/res/drawable-hdpi/v5_bottom_bar_top_line_light.9.png
  72. new file mode 100644
  73. index 0000000..14b5c84
  74. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_bottom_bar_top_line_light.9.png differ
  75. diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_disabled_light.png b/AntiSpam/res/drawable-hdpi/v5_btn_next_disabled_light.png
  76. new file mode 100644
  77. index 0000000..cc53f37
  78. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_btn_next_disabled_light.png differ
  79. diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_light.xml b/AntiSpam/res/drawable-hdpi/v5_btn_next_light.xml
  80. new file mode 100644
  81. index 0000000..082faeb
  82. --- /dev/null
  83. +++ b/AntiSpam/res/drawable-hdpi/v5_btn_next_light.xml
  84. @@ -0,0 +1,7 @@
  85. +<?xml version="1.0" encoding="utf-8"?>
  86. +<selector
  87. + xmlns:android="http://schemas.android.com/apk/res/android">
  88. + <item android:state_enabled="false" android:drawable="@drawable/v5_btn_next_disabled_light" />
  89. + <item android:state_pressed="true" android:drawable="@drawable/v5_btn_next_pressed_light" />
  90. + <item android:drawable="@drawable/v5_btn_next_normal_light" />
  91. +</selector>
  92. diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_normal_light.png b/AntiSpam/res/drawable-hdpi/v5_btn_next_normal_light.png
  93. new file mode 100644
  94. index 0000000..ae2db08
  95. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_btn_next_normal_light.png differ
  96. diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_pressed_light.png b/AntiSpam/res/drawable-hdpi/v5_btn_next_pressed_light.png
  97. new file mode 100644
  98. index 0000000..3e1ffed
  99. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_btn_next_pressed_light.png differ
  100. diff --git a/AntiSpam/res/drawable-hdpi/v5_group_first_item_bg_light.9.png b/AntiSpam/res/drawable-hdpi/v5_group_first_item_bg_light.9.png
  101. new file mode 100644
  102. index 0000000..8c0ac23
  103. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_first_item_bg_light.9.png differ
  104. diff --git a/AntiSpam/res/drawable-hdpi/v5_group_item_bg_light.xml b/AntiSpam/res/drawable-hdpi/v5_group_item_bg_light.xml
  105. new file mode 100644
  106. index 0000000..edb74db
  107. --- /dev/null
  108. +++ b/AntiSpam/res/drawable-hdpi/v5_group_item_bg_light.xml
  109. @@ -0,0 +1,9 @@
  110. +<?xml version="1.0" encoding="utf-8"?>
  111. +<selector
  112. + xmlns:android="http://schemas.android.com/apk/res/android">
  113. + <item android:drawable="@drawable/v5_group_single_item_bg_light" android:state_single="true" />
  114. + <item android:drawable="@drawable/v5_group_first_item_bg_light" android:state_first="true" />
  115. + <item android:drawable="@drawable/v5_group_middle_item_bg_light" android:state_middle="true" />
  116. + <item android:drawable="@drawable/v5_group_last_item_bg_light" android:state_last="true" />
  117. + <item android:drawable="@drawable/v5_group_single_item_bg_light" />
  118. +</selector>
  119. diff --git a/AntiSpam/res/drawable-hdpi/v5_group_last_item_bg_light.9.png b/AntiSpam/res/drawable-hdpi/v5_group_last_item_bg_light.9.png
  120. new file mode 100644
  121. index 0000000..09cf98b
  122. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_last_item_bg_light.9.png differ
  123. diff --git a/AntiSpam/res/drawable-hdpi/v5_group_middle_item_bg_light.9.png b/AntiSpam/res/drawable-hdpi/v5_group_middle_item_bg_light.9.png
  124. new file mode 100644
  125. index 0000000..8c3bffd
  126. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_middle_item_bg_light.9.png differ
  127. diff --git a/AntiSpam/res/drawable-hdpi/v5_group_single_item_bg_light.9.png b/AntiSpam/res/drawable-hdpi/v5_group_single_item_bg_light.9.png
  128. new file mode 100644
  129. index 0000000..9a76e32
  130. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_single_item_bg_light.9.png differ
  131. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_normal_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_normal_light.9.png
  132. new file mode 100644
  133. index 0000000..09d9eb5
  134. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_normal_light.9.png differ
  135. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_pressed_light.9.png
  136. new file mode 100644
  137. index 0000000..e43a67a
  138. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_pressed_light.9.png differ
  139. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_selected_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_selected_light.9.png
  140. new file mode 100644
  141. index 0000000..3d4f8dd
  142. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_selected_light.9.png differ
  143. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_item_bg_light.xml b/AntiSpam/res/drawable-hdpi/v5_list_view_item_bg_light.xml
  144. new file mode 100644
  145. index 0000000..df7c182
  146. --- /dev/null
  147. +++ b/AntiSpam/res/drawable-hdpi/v5_list_view_item_bg_light.xml
  148. @@ -0,0 +1,24 @@
  149. +<?xml version="1.0" encoding="utf-8"?>
  150. +<selector
  151. + xmlns:android="http://schemas.android.com/apk/res/android">
  152. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" android:state_single="true" />
  153. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_single="true" />
  154. + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" android:state_single="true" />
  155. + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" android:state_single="true" />
  156. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_first_item_bg_pressed_light" android:state_first="true" />
  157. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_first="true" />
  158. + <item android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_activated="true" android:state_first="true" />
  159. + <item android:drawable="@drawable/v5_list_view_first_item_bg_normal_light" android:state_first="true" />
  160. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_middle_item_bg_pressed_light" android:state_middle="true" />
  161. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_middle="true" />
  162. + <item android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_activated="true" android:state_middle="true" />
  163. + <item android:drawable="@drawable/v5_list_view_middle_item_bg_normal_light" android:state_middle="true" />
  164. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_last_item_bg_pressed_light" android:state_last="true" />
  165. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_last="true" />
  166. + <item android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_activated="true" android:state_last="true" />
  167. + <item android:drawable="@drawable/v5_list_view_last_item_bg_normal_light" android:state_last="true" />
  168. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" />
  169. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" />
  170. + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" />
  171. + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" />
  172. +</selector>
  173. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_normal_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_normal_light.9.png
  174. new file mode 100644
  175. index 0000000..09d9eb5
  176. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_normal_light.9.png differ
  177. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_pressed_light.9.png
  178. new file mode 100644
  179. index 0000000..e43a67a
  180. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_pressed_light.9.png differ
  181. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_selected_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_selected_light.9.png
  182. new file mode 100644
  183. index 0000000..3d4f8dd
  184. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_selected_light.9.png differ
  185. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_normal_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_normal_light.9.png
  186. new file mode 100644
  187. index 0000000..09d9eb5
  188. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_normal_light.9.png differ
  189. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_pressed_light.9.png
  190. new file mode 100644
  191. index 0000000..e43a67a
  192. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_pressed_light.9.png differ
  193. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_selected_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_selected_light.9.png
  194. new file mode 100644
  195. index 0000000..3d4f8dd
  196. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_selected_light.9.png differ
  197. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_section_item_bg_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_section_item_bg_light.9.png
  198. new file mode 100644
  199. index 0000000..e12a9ff
  200. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_section_item_bg_light.9.png differ
  201. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_normal_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_normal_light.9.png
  202. new file mode 100644
  203. index 0000000..09d9eb5
  204. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_normal_light.9.png differ
  205. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_pressed_light.9.png
  206. new file mode 100644
  207. index 0000000..e43a67a
  208. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_pressed_light.9.png differ
  209. diff --git a/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_selected_light.9.png b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_selected_light.9.png
  210. new file mode 100644
  211. index 0000000..3d4f8dd
  212. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_selected_light.9.png differ
  213. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_normal_light.9.png b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_normal_light.9.png
  214. new file mode 100644
  215. index 0000000..3d8352c
  216. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_normal_light.9.png differ
  217. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_pressed_light.9.png b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_pressed_light.9.png
  218. new file mode 100644
  219. index 0000000..2500099
  220. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_pressed_light.9.png differ
  221. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_light.xml b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_light.xml
  222. new file mode 100644
  223. index 0000000..b3a72b7
  224. --- /dev/null
  225. +++ b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_light.xml
  226. @@ -0,0 +1,19 @@
  227. +<?xml version="1.0" encoding="utf-8"?>
  228. +<selector
  229. + xmlns:android="http://schemas.android.com/apk/res/android">
  230. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
  231. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
  232. + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_single="true" />
  233. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
  234. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
  235. + <item android:drawable="@drawable/v5_secondary_tab_bg_left_normal_light" android:state_first="true" />
  236. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
  237. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
  238. + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_middle="true" />
  239. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
  240. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
  241. + <item android:drawable="@drawable/v5_secondary_tab_bg_right_normal_light" android:state_last="true" />
  242. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
  243. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
  244. + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" />
  245. +</selector>
  246. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_normal_light.9.png b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_normal_light.9.png
  247. new file mode 100644
  248. index 0000000..3d8352c
  249. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_normal_light.9.png differ
  250. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_pressed_light.9.png b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_pressed_light.9.png
  251. new file mode 100644
  252. index 0000000..1edcae5
  253. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_pressed_light.9.png differ
  254. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_normal_light.9.png b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_normal_light.9.png
  255. new file mode 100644
  256. index 0000000..3d8352c
  257. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_normal_light.9.png differ
  258. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_pressed_light.9.png b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_pressed_light.9.png
  259. new file mode 100644
  260. index 0000000..003f764
  261. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_pressed_light.9.png differ
  262. diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_indicator_bg_light.9.png b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_indicator_bg_light.9.png
  263. new file mode 100644
  264. index 0000000..9fb7b83
  265. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_indicator_bg_light.9.png differ
  266. diff --git a/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_light.9.png b/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_light.9.png
  267. new file mode 100644
  268. index 0000000..2b17619
  269. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_light.9.png differ
  270. diff --git a/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_no_title_light.9.png b/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_no_title_light.9.png
  271. new file mode 100644
  272. index 0000000..12d6b2b
  273. Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_no_title_light.9.png differ
  274. diff --git a/AntiSpam/res/drawable-mdpi/app_icon.png b/AntiSpam/res/drawable-mdpi/app_icon.png
  275. new file mode 100644
  276. index 0000000..5456cb6
  277. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/app_icon.png differ
  278. diff --git a/AntiSpam/res/drawable-mdpi/mark_number_dialog_provider.png b/AntiSpam/res/drawable-mdpi/mark_number_dialog_provider.png
  279. new file mode 100644
  280. index 0000000..7b287da
  281. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/mark_number_dialog_provider.png differ
  282. diff --git a/AntiSpam/res/drawable-mdpi/no_calllog.png b/AntiSpam/res/drawable-mdpi/no_calllog.png
  283. new file mode 100644
  284. index 0000000..969bace
  285. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/no_calllog.png differ
  286. diff --git a/AntiSpam/res/drawable-mdpi/no_mslog.png b/AntiSpam/res/drawable-mdpi/no_mslog.png
  287. new file mode 100644
  288. index 0000000..7dee88f
  289. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/no_mslog.png differ
  290. diff --git a/AntiSpam/res/drawable-mdpi/stat_notify_firewall.png b/AntiSpam/res/drawable-mdpi/stat_notify_firewall.png
  291. new file mode 100644
  292. index 0000000..f6eeb11
  293. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/stat_notify_firewall.png differ
  294. diff --git a/AntiSpam/res/drawable-mdpi/stat_notify_firewall_hit.png b/AntiSpam/res/drawable-mdpi/stat_notify_firewall_hit.png
  295. new file mode 100644
  296. index 0000000..6b1221c
  297. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/stat_notify_firewall_hit.png differ
  298. diff --git a/AntiSpam/res/drawable-mdpi/title_bar_bg.9.png b/AntiSpam/res/drawable-mdpi/title_bar_bg.9.png
  299. new file mode 100644
  300. index 0000000..85aabfc
  301. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/title_bar_bg.9.png differ
  302. diff --git a/AntiSpam/res/drawable-mdpi/turn_on_smart_antispam.png b/AntiSpam/res/drawable-mdpi/turn_on_smart_antispam.png
  303. new file mode 100644
  304. index 0000000..e8b43f2
  305. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/turn_on_smart_antispam.png differ
  306. diff --git a/AntiSpam/res/drawable-mdpi/v5_bottom_bar_top_line_light.9.png b/AntiSpam/res/drawable-mdpi/v5_bottom_bar_top_line_light.9.png
  307. new file mode 100644
  308. index 0000000..14b5c84
  309. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_bottom_bar_top_line_light.9.png differ
  310. diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_disabled_light.png b/AntiSpam/res/drawable-mdpi/v5_btn_next_disabled_light.png
  311. new file mode 100644
  312. index 0000000..cc53f37
  313. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_btn_next_disabled_light.png differ
  314. diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_light.xml b/AntiSpam/res/drawable-mdpi/v5_btn_next_light.xml
  315. new file mode 100644
  316. index 0000000..082faeb
  317. --- /dev/null
  318. +++ b/AntiSpam/res/drawable-mdpi/v5_btn_next_light.xml
  319. @@ -0,0 +1,7 @@
  320. +<?xml version="1.0" encoding="utf-8"?>
  321. +<selector
  322. + xmlns:android="http://schemas.android.com/apk/res/android">
  323. + <item android:state_enabled="false" android:drawable="@drawable/v5_btn_next_disabled_light" />
  324. + <item android:state_pressed="true" android:drawable="@drawable/v5_btn_next_pressed_light" />
  325. + <item android:drawable="@drawable/v5_btn_next_normal_light" />
  326. +</selector>
  327. diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_normal_light.png b/AntiSpam/res/drawable-mdpi/v5_btn_next_normal_light.png
  328. new file mode 100644
  329. index 0000000..ae2db08
  330. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_btn_next_normal_light.png differ
  331. diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_pressed_light.png b/AntiSpam/res/drawable-mdpi/v5_btn_next_pressed_light.png
  332. new file mode 100644
  333. index 0000000..3e1ffed
  334. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_btn_next_pressed_light.png differ
  335. diff --git a/AntiSpam/res/drawable-mdpi/v5_group_first_item_bg_light.9.png b/AntiSpam/res/drawable-mdpi/v5_group_first_item_bg_light.9.png
  336. new file mode 100644
  337. index 0000000..8c0ac23
  338. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_first_item_bg_light.9.png differ
  339. diff --git a/AntiSpam/res/drawable-mdpi/v5_group_item_bg_light.xml b/AntiSpam/res/drawable-mdpi/v5_group_item_bg_light.xml
  340. new file mode 100644
  341. index 0000000..edb74db
  342. --- /dev/null
  343. +++ b/AntiSpam/res/drawable-mdpi/v5_group_item_bg_light.xml
  344. @@ -0,0 +1,9 @@
  345. +<?xml version="1.0" encoding="utf-8"?>
  346. +<selector
  347. + xmlns:android="http://schemas.android.com/apk/res/android">
  348. + <item android:drawable="@drawable/v5_group_single_item_bg_light" android:state_single="true" />
  349. + <item android:drawable="@drawable/v5_group_first_item_bg_light" android:state_first="true" />
  350. + <item android:drawable="@drawable/v5_group_middle_item_bg_light" android:state_middle="true" />
  351. + <item android:drawable="@drawable/v5_group_last_item_bg_light" android:state_last="true" />
  352. + <item android:drawable="@drawable/v5_group_single_item_bg_light" />
  353. +</selector>
  354. diff --git a/AntiSpam/res/drawable-mdpi/v5_group_last_item_bg_light.9.png b/AntiSpam/res/drawable-mdpi/v5_group_last_item_bg_light.9.png
  355. new file mode 100644
  356. index 0000000..09cf98b
  357. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_last_item_bg_light.9.png differ
  358. diff --git a/AntiSpam/res/drawable-mdpi/v5_group_middle_item_bg_light.9.png b/AntiSpam/res/drawable-mdpi/v5_group_middle_item_bg_light.9.png
  359. new file mode 100644
  360. index 0000000..8c3bffd
  361. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_middle_item_bg_light.9.png differ
  362. diff --git a/AntiSpam/res/drawable-mdpi/v5_group_single_item_bg_light.9.png b/AntiSpam/res/drawable-mdpi/v5_group_single_item_bg_light.9.png
  363. new file mode 100644
  364. index 0000000..9a76e32
  365. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_single_item_bg_light.9.png differ
  366. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_normal_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_normal_light.9.png
  367. new file mode 100644
  368. index 0000000..09d9eb5
  369. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_normal_light.9.png differ
  370. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_pressed_light.9.png
  371. new file mode 100644
  372. index 0000000..e43a67a
  373. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_pressed_light.9.png differ
  374. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_selected_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_selected_light.9.png
  375. new file mode 100644
  376. index 0000000..3d4f8dd
  377. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_selected_light.9.png differ
  378. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_item_bg_light.xml b/AntiSpam/res/drawable-mdpi/v5_list_view_item_bg_light.xml
  379. new file mode 100644
  380. index 0000000..df7c182
  381. --- /dev/null
  382. +++ b/AntiSpam/res/drawable-mdpi/v5_list_view_item_bg_light.xml
  383. @@ -0,0 +1,24 @@
  384. +<?xml version="1.0" encoding="utf-8"?>
  385. +<selector
  386. + xmlns:android="http://schemas.android.com/apk/res/android">
  387. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" android:state_single="true" />
  388. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_single="true" />
  389. + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" android:state_single="true" />
  390. + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" android:state_single="true" />
  391. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_first_item_bg_pressed_light" android:state_first="true" />
  392. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_first="true" />
  393. + <item android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_activated="true" android:state_first="true" />
  394. + <item android:drawable="@drawable/v5_list_view_first_item_bg_normal_light" android:state_first="true" />
  395. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_middle_item_bg_pressed_light" android:state_middle="true" />
  396. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_middle="true" />
  397. + <item android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_activated="true" android:state_middle="true" />
  398. + <item android:drawable="@drawable/v5_list_view_middle_item_bg_normal_light" android:state_middle="true" />
  399. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_last_item_bg_pressed_light" android:state_last="true" />
  400. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_last="true" />
  401. + <item android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_activated="true" android:state_last="true" />
  402. + <item android:drawable="@drawable/v5_list_view_last_item_bg_normal_light" android:state_last="true" />
  403. + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" />
  404. + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" />
  405. + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" />
  406. + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" />
  407. +</selector>
  408. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_normal_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_normal_light.9.png
  409. new file mode 100644
  410. index 0000000..09d9eb5
  411. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_normal_light.9.png differ
  412. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_pressed_light.9.png
  413. new file mode 100644
  414. index 0000000..e43a67a
  415. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_pressed_light.9.png differ
  416. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_selected_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_selected_light.9.png
  417. new file mode 100644
  418. index 0000000..3d4f8dd
  419. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_selected_light.9.png differ
  420. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_normal_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_normal_light.9.png
  421. new file mode 100644
  422. index 0000000..09d9eb5
  423. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_normal_light.9.png differ
  424. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_pressed_light.9.png
  425. new file mode 100644
  426. index 0000000..e43a67a
  427. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_pressed_light.9.png differ
  428. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_selected_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_selected_light.9.png
  429. new file mode 100644
  430. index 0000000..3d4f8dd
  431. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_selected_light.9.png differ
  432. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_section_item_bg_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_section_item_bg_light.9.png
  433. new file mode 100644
  434. index 0000000..e12a9ff
  435. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_section_item_bg_light.9.png differ
  436. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_normal_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_normal_light.9.png
  437. new file mode 100644
  438. index 0000000..09d9eb5
  439. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_normal_light.9.png differ
  440. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_pressed_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_pressed_light.9.png
  441. new file mode 100644
  442. index 0000000..e43a67a
  443. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_pressed_light.9.png differ
  444. diff --git a/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_selected_light.9.png b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_selected_light.9.png
  445. new file mode 100644
  446. index 0000000..3d4f8dd
  447. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_selected_light.9.png differ
  448. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_normal_light.9.png b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_normal_light.9.png
  449. new file mode 100644
  450. index 0000000..3d8352c
  451. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_normal_light.9.png differ
  452. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_pressed_light.9.png b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_pressed_light.9.png
  453. new file mode 100644
  454. index 0000000..2500099
  455. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_pressed_light.9.png differ
  456. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_light.xml b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_light.xml
  457. new file mode 100644
  458. index 0000000..b3a72b7
  459. --- /dev/null
  460. +++ b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_light.xml
  461. @@ -0,0 +1,19 @@
  462. +<?xml version="1.0" encoding="utf-8"?>
  463. +<selector
  464. + xmlns:android="http://schemas.android.com/apk/res/android">
  465. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
  466. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
  467. + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_single="true" />
  468. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
  469. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
  470. + <item android:drawable="@drawable/v5_secondary_tab_bg_left_normal_light" android:state_first="true" />
  471. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
  472. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
  473. + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_middle="true" />
  474. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
  475. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
  476. + <item android:drawable="@drawable/v5_secondary_tab_bg_right_normal_light" android:state_last="true" />
  477. + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
  478. + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
  479. + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" />
  480. +</selector>
  481. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_normal_light.9.png b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_normal_light.9.png
  482. new file mode 100644
  483. index 0000000..3d8352c
  484. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_normal_light.9.png differ
  485. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_pressed_light.9.png b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_pressed_light.9.png
  486. new file mode 100644
  487. index 0000000..1edcae5
  488. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_pressed_light.9.png differ
  489. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_normal_light.9.png b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_normal_light.9.png
  490. new file mode 100644
  491. index 0000000..3d8352c
  492. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_normal_light.9.png differ
  493. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_pressed_light.9.png b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_pressed_light.9.png
  494. new file mode 100644
  495. index 0000000..003f764
  496. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_pressed_light.9.png differ
  497. diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_indicator_bg_light.9.png b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_indicator_bg_light.9.png
  498. new file mode 100644
  499. index 0000000..9fb7b83
  500. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_indicator_bg_light.9.png differ
  501. diff --git a/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_light.9.png b/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_light.9.png
  502. new file mode 100644
  503. index 0000000..2b17619
  504. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_light.9.png differ
  505. diff --git a/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_no_title_light.9.png b/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_no_title_light.9.png
  506. new file mode 100644
  507. index 0000000..12d6b2b
  508. Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_no_title_light.9.png differ
  509. diff --git a/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml b/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml
  510. index e3a4243..86f65c8 100644
  511. --- a/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml
  512. +++ b/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml
  513. @@ -1,8 +1,8 @@
  514. <?xml version="1.0" encoding="utf-8"?>
  515. -<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.ListView.Item.TrebleLine"
  516. +<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.ListView.Item.TrebleLine"
  517. xmlns:android="http://schemas.android.com/apk/res/android">
  518. - <TextView android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/list_item_maxwidth" android:singleLine="true" android:layout_alignParentLeft="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  519. - <TextView android:id="@id/count" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/title" android:layout_alignBottom="@id/title" style="@miui:style/V5.TextAppearance.List.Secondary" />
  520. - <TextView android:id="@id/subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/title" style="@miui:style/V5.TextAppearance.List.Secondary" />
  521. - <TextView android:id="@id/data1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/subtitle" style="@miui:style/V5.TextAppearance.List.Secondary" />
  522. + <TextView android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/list_item_maxwidth" android:singleLine="true" android:layout_alignParentLeft="true" style="@style/V5.TextAppearance.List.Primary" />
  523. + <TextView android:id="@id/count" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/title" android:layout_alignBottom="@id/title" style="@style/V5.TextAppearance.List.Secondary" />
  524. + <TextView android:id="@id/subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/title" style="@style/V5.TextAppearance.List.Secondary" />
  525. + <TextView android:id="@id/data1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/subtitle" style="@style/V5.TextAppearance.List.Secondary" />
  526. </RelativeLayout>
  527. diff --git a/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml b/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml
  528. index e3a4243..86f65c8 100644
  529. --- a/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml
  530. +++ b/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml
  531. @@ -1,8 +1,8 @@
  532. <?xml version="1.0" encoding="utf-8"?>
  533. -<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.ListView.Item.TrebleLine"
  534. +<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.ListView.Item.TrebleLine"
  535. xmlns:android="http://schemas.android.com/apk/res/android">
  536. - <TextView android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/list_item_maxwidth" android:singleLine="true" android:layout_alignParentLeft="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  537. - <TextView android:id="@id/count" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/title" android:layout_alignBottom="@id/title" style="@miui:style/V5.TextAppearance.List.Secondary" />
  538. - <TextView android:id="@id/subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/title" style="@miui:style/V5.TextAppearance.List.Secondary" />
  539. - <TextView android:id="@id/data1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/subtitle" style="@miui:style/V5.TextAppearance.List.Secondary" />
  540. + <TextView android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/list_item_maxwidth" android:singleLine="true" android:layout_alignParentLeft="true" style="@style/V5.TextAppearance.List.Primary" />
  541. + <TextView android:id="@id/count" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/title" android:layout_alignBottom="@id/title" style="@style/V5.TextAppearance.List.Secondary" />
  542. + <TextView android:id="@id/subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/title" style="@style/V5.TextAppearance.List.Secondary" />
  543. + <TextView android:id="@id/data1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/subtitle" style="@style/V5.TextAppearance.List.Secondary" />
  544. </RelativeLayout>
  545. diff --git a/AntiSpam/res/layout/fw_add_firewall_member.xml b/AntiSpam/res/layout/fw_add_firewall_member.xml
  546. index a001320..a654783 100644
  547. --- a/AntiSpam/res/layout/fw_add_firewall_member.xml
  548. +++ b/AntiSpam/res/layout/fw_add_firewall_member.xml
  549. @@ -4,8 +4,8 @@
  550. <LinearLayout android:orientation="vertical" android:padding="15.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
  551. xmlns:android="http://schemas.android.com/apk/res/android">
  552. <TextView android:textSize="@dimen/text_font_size_large" android:id="@id/number" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" />
  553. - <EditText android:id="@id/number_edit" android:background="?miui:v5_group_item_bg" android:padding="10.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/number_add_hint" android:singleLine="true" android:inputType="phone" />
  554. - <EditText android:id="@id/notes" android:background="?miui:v5_group_item_bg" android:padding="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/fw_notes_hint" android:singleLine="true" android:inputType="text" />
  555. + <EditText android:id="@id/number_edit" android:background="@attr/v5_group_item_bg" android:padding="10.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/number_add_hint" android:singleLine="true" android:inputType="phone" />
  556. + <EditText android:id="@id/notes" android:background="@attr/v5_group_item_bg" android:padding="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="@string/fw_notes_hint" android:singleLine="true" android:inputType="text" />
  557. <CheckBox android:gravity="center_vertical" android:id="@id/import_ms" android:focusable="false" android:focusableInTouchMode="false" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginTop="10.0dip" android:checked="true" android:text="@string/fw_import_ms" />
  558. </LinearLayout>
  559. </ScrollView>
  560. diff --git a/AntiSpam/res/layout/fw_black_white_list.xml b/AntiSpam/res/layout/fw_black_white_list.xml
  561. index 5ed7489..2149e82 100644
  562. --- a/AntiSpam/res/layout/fw_black_white_list.xml
  563. +++ b/AntiSpam/res/layout/fw_black_white_list.xml
  564. @@ -1,9 +1,9 @@
  565. <?xml version="1.0" encoding="utf-8"?>
  566. <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
  567. xmlns:android="http://schemas.android.com/apk/res/android">
  568. - <LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.SecondaryTabIndicator">
  569. - <TextView android:id="@id/blacklist_tab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/blacklist_tab_title" android:layout_weight="1.0" style="@miui:style/V5.Widget.SecondaryTab" />
  570. - <TextView android:id="@id/whitelist_tab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/whitelist_tab_title" android:layout_weight="1.0" style="@miui:style/V5.Widget.SecondaryTab" />
  571. + <LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.SecondaryTabIndicator">
  572. + <TextView android:id="@id/blacklist_tab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/blacklist_tab_title" android:layout_weight="1.0" style="@style/V5.Widget.SecondaryTab" />
  573. + <TextView android:id="@id/whitelist_tab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/whitelist_tab_title" android:layout_weight="1.0" style="@style/V5.Widget.SecondaryTab" />
  574. </LinearLayout>
  575. <ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0" android:fastScrollEnabled="true" />
  576. </LinearLayout>
  577. diff --git a/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml b/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml
  578. index 1e221b3..76cbaaf 100644
  579. --- a/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml
  580. +++ b/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml
  581. @@ -1,5 +1,5 @@
  582. <?xml version="1.0" encoding="utf-8"?>
  583. -<LinearLayout android:background="?miui:v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
  584. +<LinearLayout android:background="@attr/v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
  585. xmlns:android="http://schemas.android.com/apk/res/android">
  586. - <TextView android:layout_gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/fw_blacklist_hint" style="@miui:style/V5.TextAppearance.List.Secondary" />
  587. + <TextView android:layout_gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/fw_blacklist_hint" style="@style/V5.TextAppearance.List.Secondary" />
  588. </LinearLayout>
  589. diff --git a/AntiSpam/res/layout/fw_blacklist_listitem.xml b/AntiSpam/res/layout/fw_blacklist_listitem.xml
  590. index 9966149..dcf309e 100644
  591. --- a/AntiSpam/res/layout/fw_blacklist_listitem.xml
  592. +++ b/AntiSpam/res/layout/fw_blacklist_listitem.xml
  593. @@ -1,10 +1,10 @@
  594. <?xml version="1.0" encoding="utf-8"?>
  595. -<LinearLayout android:orientation="vertical" android:id="@id/root" android:paddingTop="@dimen/list_item_padding" android:paddingBottom="@dimen/list_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.ListView.Item.DoubleLine"
  596. +<LinearLayout android:orientation="vertical" android:id="@id/root" android:paddingTop="@dimen/list_item_padding" android:paddingBottom="@dimen/list_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.ListView.Item.DoubleLine"
  597. xmlns:android="http://schemas.android.com/apk/res/android">
  598. <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip">
  599. - <TextView android:id="@id/name" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  600. + <TextView android:id="@id/name" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
  601. </LinearLayout>
  602. <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip">
  603. - <TextView android:id="@id/firewall_log" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@miui:style/V5.TextAppearance.List.Secondary" />
  604. + <TextView android:id="@id/firewall_log" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@style/V5.TextAppearance.List.Secondary" />
  605. </LinearLayout>
  606. </LinearLayout>
  607. diff --git a/AntiSpam/res/layout/fw_keyword_hint_listitem.xml b/AntiSpam/res/layout/fw_keyword_hint_listitem.xml
  608. index fb7226b..07964fc 100644
  609. --- a/AntiSpam/res/layout/fw_keyword_hint_listitem.xml
  610. +++ b/AntiSpam/res/layout/fw_keyword_hint_listitem.xml
  611. @@ -1,5 +1,5 @@
  612. <?xml version="1.0" encoding="utf-8"?>
  613. <LinearLayout android:gravity="center_vertical" android:paddingLeft="10.0dip" android:paddingTop="10.0dip" android:paddingRight="10.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
  614. xmlns:android="http://schemas.android.com/apk/res/android">
  615. - <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/fw_keyword_list_hint" style="@miui:style/V5.TextAppearance.List.Secondary" />
  616. + <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/fw_keyword_list_hint" style="@style/V5.TextAppearance.List.Secondary" />
  617. </LinearLayout>
  618. diff --git a/AntiSpam/res/layout/fw_keyword_listitem.xml b/AntiSpam/res/layout/fw_keyword_listitem.xml
  619. index 014ae9d..5249450 100644
  620. --- a/AntiSpam/res/layout/fw_keyword_listitem.xml
  621. +++ b/AntiSpam/res/layout/fw_keyword_listitem.xml
  622. @@ -1,5 +1,5 @@
  623. <?xml version="1.0" encoding="utf-8"?>
  624. -<LinearLayout android:id="@id/root" android:layout_width="fill_parent" android:layout_height="54.0dip" style="@miui:style/V5.Widget.ListView.Item.SingleLine"
  625. +<LinearLayout android:id="@id/root" android:layout_width="fill_parent" android:layout_height="54.0dip" style="@style/V5.Widget.ListView.Item.SingleLine"
  626. xmlns:android="http://schemas.android.com/apk/res/android">
  627. - <TextView android:id="@id/data" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  628. + <TextView android:id="@id/data" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
  629. </LinearLayout>
  630. diff --git a/AntiSpam/res/layout/fw_log_fragment.xml b/AntiSpam/res/layout/fw_log_fragment.xml
  631. index e351d4a..02faf03 100644
  632. --- a/AntiSpam/res/layout/fw_log_fragment.xml
  633. +++ b/AntiSpam/res/layout/fw_log_fragment.xml
  634. @@ -1,9 +1,9 @@
  635. <?xml version="1.0" encoding="utf-8"?>
  636. <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
  637. xmlns:android="http://schemas.android.com/apk/res/android">
  638. - <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/log_tab_indicator" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.SecondaryTabIndicator">
  639. - <TextView android:id="@id/call_button" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/call_log_tab_title" android:layout_weight="1.0" style="@miui:style/V5.Widget.SecondaryTab" />
  640. - <TextView android:id="@id/sms_button" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/mms_log_tab_title" android:layout_weight="1.0" style="@miui:style/V5.Widget.SecondaryTab" />
  641. + <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/log_tab_indicator" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.SecondaryTabIndicator">
  642. + <TextView android:id="@id/call_button" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/call_log_tab_title" android:layout_weight="1.0" style="@style/V5.Widget.SecondaryTab" />
  643. + <TextView android:id="@id/sms_button" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/mms_log_tab_title" android:layout_weight="1.0" style="@style/V5.Widget.SecondaryTab" />
  644. </LinearLayout>
  645. <ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0" android:fastScrollEnabled="true" />
  646. <include layout="@layout/fw_log_list_empty" />
  647. diff --git a/AntiSpam/res/layout/fw_log_group_listitem.xml b/AntiSpam/res/layout/fw_log_group_listitem.xml
  648. index b05c2b4..8e64d23 100644
  649. --- a/AntiSpam/res/layout/fw_log_group_listitem.xml
  650. +++ b/AntiSpam/res/layout/fw_log_group_listitem.xml
  651. @@ -1,8 +1,8 @@
  652. <?xml version="1.0" encoding="utf-8"?>
  653. -<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.ListView.Item.DoubleLine"
  654. +<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.ListView.Item.DoubleLine"
  655. xmlns:android="http://schemas.android.com/apk/res/android">
  656. - <TextView android:ellipsize="end" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/list_item_maxwidth" android:singleLine="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  657. - <TextView android:id="@id/count" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/title" android:layout_alignBottom="@id/title" style="@miui:style/V5.TextAppearance.List.Secondary" />
  658. - <TextView android:id="@id/subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignBottom="@id/title" android:layout_alignParentRight="true" style="@miui:style/V5.TextAppearance.List.Secondary" />
  659. - <TextView android:id="@id/data1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/title" style="@miui:style/V5.TextAppearance.List.Secondary" />
  660. + <TextView android:ellipsize="end" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/list_item_maxwidth" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
  661. + <TextView android:id="@id/count" android:paddingLeft="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/title" android:layout_alignBottom="@id/title" style="@style/V5.TextAppearance.List.Secondary" />
  662. + <TextView android:id="@id/subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignBottom="@id/title" android:layout_alignParentRight="true" style="@style/V5.TextAppearance.List.Secondary" />
  663. + <TextView android:id="@id/data1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/title" style="@style/V5.TextAppearance.List.Secondary" />
  664. </RelativeLayout>
  665. diff --git a/AntiSpam/res/layout/fw_log_list_empty.xml b/AntiSpam/res/layout/fw_log_list_empty.xml
  666. index 583a584..df4a366 100644
  667. --- a/AntiSpam/res/layout/fw_log_list_empty.xml
  668. +++ b/AntiSpam/res/layout/fw_log_list_empty.xml
  669. @@ -2,5 +2,5 @@
  670. <LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@android:id/empty" android:layout_width="fill_parent" android:layout_height="fill_parent"
  671. xmlns:android="http://schemas.android.com/apk/res/android">
  672. <ImageView android:id="@id/emptyImage" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/no_calllog" />
  673. - <TextView android:gravity="center_horizontal" android:id="@id/emptyText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:text="@string/emptylist_fwlog_call" style="@miui:style/V5.TextAppearance.Small" />
  674. + <TextView android:gravity="center_horizontal" android:id="@id/emptyText" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:text="@string/emptylist_fwlog_call" style="@style/V5.TextAppearance.Small" />
  675. </LinearLayout>
  676. diff --git a/AntiSpam/res/layout/fw_log_listitem.xml b/AntiSpam/res/layout/fw_log_listitem.xml
  677. index f806c14..eddea80 100644
  678. --- a/AntiSpam/res/layout/fw_log_listitem.xml
  679. +++ b/AntiSpam/res/layout/fw_log_listitem.xml
  680. @@ -1,7 +1,7 @@
  681. <?xml version="1.0" encoding="utf-8"?>
  682. -<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:paddingTop="@dimen/list_item_padding" android:paddingBottom="@dimen/list_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.ListView.Item.DoubleLine"
  683. +<RelativeLayout android:gravity="center_vertical" android:id="@id/root" android:paddingTop="@dimen/list_item_padding" android:paddingBottom="@dimen/list_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.ListView.Item.DoubleLine"
  684. xmlns:android="http://schemas.android.com/apk/res/android">
  685. - <TextView android:id="@id/head1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentLeft="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  686. - <TextView android:id="@id/head2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignBottom="@id/head1" android:layout_alignParentRight="true" style="@miui:style/V5.TextAppearance.List.Secondary" />
  687. - <TextView android:id="@id/body" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="false" android:layout_below="@id/head1" style="@miui:style/V5.TextAppearance.List.Secondary" />
  688. + <TextView android:id="@id/head1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentLeft="true" style="@style/V5.TextAppearance.List.Primary" />
  689. + <TextView android:id="@id/head2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignBottom="@id/head1" android:layout_alignParentRight="true" style="@style/V5.TextAppearance.List.Secondary" />
  690. + <TextView android:id="@id/body" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="false" android:layout_below="@id/head1" style="@style/V5.TextAppearance.List.Secondary" />
  691. </RelativeLayout>
  692. diff --git a/AntiSpam/res/layout/fw_mark_number_custom_title.xml b/AntiSpam/res/layout/fw_mark_number_custom_title.xml
  693. index 2e133ab..dcf4475 100644
  694. --- a/AntiSpam/res/layout/fw_mark_number_custom_title.xml
  695. +++ b/AntiSpam/res/layout/fw_mark_number_custom_title.xml
  696. @@ -1,6 +1,6 @@
  697. <?xml version="1.0" encoding="utf-8"?>
  698. <LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/mark_number_dialog_custom_title" android:paddingTop="@dimen/list_item_padding" android:paddingBottom="@dimen/list_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
  699. xmlns:android="http://schemas.android.com/apk/res/android">
  700. - <TextView android:id="@id/mark_number_dialog_maintitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip" android:text="@string/mark_number_dialog_maintitle" android:singleLine="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  701. - <TextView android:id="@id/mark_number_dialog_subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:text="@string/mark_number_dialog_subtitle" android:singleLine="true" android:drawableRight="@drawable/mark_number_dialog_provider" style="@miui:style/V5.TextAppearance.List.Secondary" />
  702. + <TextView android:id="@id/mark_number_dialog_maintitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip" android:text="@string/mark_number_dialog_maintitle" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
  703. + <TextView android:id="@id/mark_number_dialog_subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:text="@string/mark_number_dialog_subtitle" android:singleLine="true" android:drawableRight="@drawable/mark_number_dialog_provider" style="@style/V5.TextAppearance.List.Secondary" />
  704. </LinearLayout>
  705. diff --git a/AntiSpam/res/layout/fw_title_panel.xml b/AntiSpam/res/layout/fw_title_panel.xml
  706. index b0e8f16..1097e58 100644
  707. --- a/AntiSpam/res/layout/fw_title_panel.xml
  708. +++ b/AntiSpam/res/layout/fw_title_panel.xml
  709. @@ -2,8 +2,8 @@
  710. <LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@id/title_panel" android:background="@drawable/title_bar_bg" android:paddingLeft="15.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
  711. xmlns:android="http://schemas.android.com/apk/res/android">
  712. <LinearLayout android:layout_gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
  713. - <miui.widget.MarqueeTextView android:id="@id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" android:maxWidth="@dimen/list_item_title_maxwidth" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" style="@miui:style/V5.TextAppearance.Title.Medium" />
  714. - <TextView android:id="@id/count" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@miui:style/V5.TextAppearance.Title.Medium.Secondary" />
  715. + <miui.widget.MarqueeTextView android:id="@id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" android:maxWidth="@dimen/list_item_title_maxwidth" android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" style="@style/V5.TextAppearance.Title.Medium" />
  716. + <TextView android:id="@id/count" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/V5.TextAppearance.Title.Medium.Secondary" />
  717. </LinearLayout>
  718. - <TextView android:id="@id/location" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@miui:style/V5.TextAppearance.Title.Medium.Secondary" />
  719. + <TextView android:id="@id/location" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@style/V5.TextAppearance.Title.Medium.Secondary" />
  720. </LinearLayout>
  721. diff --git a/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml b/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml
  722. index 333fb1d..cd5f5f8 100644
  723. --- a/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml
  724. +++ b/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml
  725. @@ -1,8 +1,8 @@
  726. <?xml version="1.0" encoding="utf-8"?>
  727. <LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
  728. xmlns:android="http://schemas.android.com/apk/res/android">
  729. - <TextView android:textAppearance="@miui:style/V5.TextAppearance.List.Secondary" android:paddingLeft="30.0dip" android:paddingRight="30.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15.0dip" android:text="@string/turn_on_smart_antispam_hint" />
  730. - <ImageView android:background="@miui:drawable/v5_bottom_bar_top_line_light" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_margin="15.0dip" />
  731. + <TextView android:textAppearance="@style/V5.TextAppearance.List.Secondary" android:paddingLeft="30.0dip" android:paddingRight="30.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="15.0dip" android:text="@string/turn_on_smart_antispam_hint" />
  732. + <ImageView android:background="@drawable/v5_bottom_bar_top_line_light" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_margin="15.0dip" />
  733. <ImageView android:background="@drawable/turn_on_smart_antispam" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="20.0dip" />
  734. <FrameLayout android:id="@id/switcher_container" android:layout_width="fill_parent" android:layout_height="wrap_content" />
  735. </LinearLayout>
  736. diff --git a/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml b/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml
  737. index 3738976..e003dba 100644
  738. --- a/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml
  739. +++ b/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml
  740. @@ -1,5 +1,5 @@
  741. <?xml version="1.0" encoding="utf-8"?>
  742. -<LinearLayout android:background="?miui:v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
  743. +<LinearLayout android:background="@attr/v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
  744. xmlns:android="http://schemas.android.com/apk/res/android">
  745. - <TextView android:layout_gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/fw_whitelist_hint" style="@miui:style/V5.TextAppearance.List.Secondary" />
  746. + <TextView android:layout_gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/fw_whitelist_hint" style="@style/V5.TextAppearance.List.Secondary" />
  747. </LinearLayout>
  748. diff --git a/AntiSpam/res/layout/fw_whitelist_listitem.xml b/AntiSpam/res/layout/fw_whitelist_listitem.xml
  749. index f623590..b06de1a 100644
  750. --- a/AntiSpam/res/layout/fw_whitelist_listitem.xml
  751. +++ b/AntiSpam/res/layout/fw_whitelist_listitem.xml
  752. @@ -1,10 +1,10 @@
  753. <?xml version="1.0" encoding="utf-8"?>
  754. -<LinearLayout android:orientation="vertical" android:id="@id/root" android:paddingTop="@dimen/list_item_padding" android:paddingBottom="@dimen/list_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.ListView.Item.DoubleLine"
  755. +<LinearLayout android:orientation="vertical" android:id="@id/root" android:paddingTop="@dimen/list_item_padding" android:paddingBottom="@dimen/list_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.ListView.Item.DoubleLine"
  756. xmlns:android="http://schemas.android.com/apk/res/android">
  757. <LinearLayout android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginTop="2.0dip" android:layout_weight="1.0">
  758. - <TextView android:id="@id/name" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="@miui:style/V5.TextAppearance.List.Primary" />
  759. + <TextView android:id="@id/name" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
  760. </LinearLayout>
  761. <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip">
  762. - <TextView android:id="@id/number" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:singleLine="true" style="@miui:style/V5.TextAppearance.List.Secondary" />
  763. + <TextView android:id="@id/number" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="5.0dip" android:singleLine="true" style="@style/V5.TextAppearance.List.Secondary" />
  764. </LinearLayout>
  765. </LinearLayout>
  766. diff --git a/AntiSpam/res/layout/preference_show_modify.xml b/AntiSpam/res/layout/preference_show_modify.xml
  767. index fd6905c..05548f6 100644
  768. --- a/AntiSpam/res/layout/preference_show_modify.xml
  769. +++ b/AntiSpam/res/layout/preference_show_modify.xml
  770. @@ -1,3 +1,3 @@
  771. <?xml version="1.0" encoding="utf-8"?>
  772. -<ImageView android:id="@id/detail_arrow" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@miui:drawable/v5_btn_next_light"
  773. +<ImageView android:id="@id/detail_arrow" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/v5_btn_next_light"
  774. xmlns:android="http://schemas.android.com/apk/res/android" />
  775. diff --git a/AntiSpam/res/values/attrs.xml b/AntiSpam/res/values/attrs.xml
  776. new file mode 100644
  777. index 0000000..4e718af
  778. --- /dev/null
  779. +++ b/AntiSpam/res/values/attrs.xml
  780. @@ -0,0 +1,14 @@
  781. +<?xml version="1.0" encoding="utf-8"?>
  782. +<resources>
  783. + <attr name="v5_action_bar_tab" format="boolean" />
  784. + <attr name="v5_action_bar_title_layout" format="reference" />
  785. + <attr name="v5_group_item_bg" format="reference" />
  786. + <attr name="v5_secondary_tab_indicator_bg" format="reference" />
  787. + <attr name="v5_secondary_tab_bg" format="reference" />
  788. + <attr name="v5_list_view_section_item_bg" format="reference" />
  789. + <attr name="v5_list_view_item_bg" format="reference" />
  790. + <attr name="v5_tab_indicator_style" format="reference" />
  791. + <attr name="v5_top_placeholder_enabled" format="boolean" />
  792. + <attr name="v5_tab_indicator_bg" format="reference" />
  793. + <attr name="v5_tab_indicator_bg_no_title" format="reference" />
  794. +</resources>
  795. \ No newline at end of file
  796. diff --git a/AntiSpam/res/values/dimens.xml b/AntiSpam/res/values/dimens.xml
  797. index 3529a12..f7e1529 100644
  798. --- a/AntiSpam/res/values/dimens.xml
  799. +++ b/AntiSpam/res/values/dimens.xml
  800. @@ -8,4 +8,16 @@
  801. <dimen name="list_item_maxwidth">160.0dip</dimen>
  802. <dimen name="list_item_title_maxwidth">200.0dip</dimen>
  803. <dimen name="log_detail_title_height">48.0dip</dimen>
  804. + <dimen name="v5_text_font_size_primary">16.0sp</dimen>
  805. + <dimen name="v5_text_font_size_list_primary">16.0sp</dimen>
  806. + <dimen name="v5_text_font_size_list_secondary">13.0sp</dimen>
  807. + <dimen name="v5_text_font_size_button">15.0sp</dimen>
  808. + <dimen name="v5_list_view_padding_horizontal">15.0dip</dimen>
  809. + <dimen name="v5_list_view_double_line_height">55.0dip</dimen>
  810. + <dimen name="v5_text_font_size_small">13.0sp</dimen>
  811. + <dimen name="v5_list_view_single_line_height">49.0dip</dimen>
  812. + <dimen name="v5_text_font_size_title">17.0sp</dimen>
  813. + <dimen name="v5_text_font_size_title_bar_medium">21.0sp</dimen>
  814. + <dimen name="v5_text_font_size_title_bar_secondary_medium">13.0sp</dimen>
  815. + <dimen name="v5_list_view_treble_line_height">63.0dip</dimen>
  816. </resources>
  817. diff --git a/AntiSpam/res/values/public.xml b/AntiSpam/res/values/public.xml
  818. index ae9d431..11b4ade 100644
  819. --- a/AntiSpam/res/values/public.xml
  820. +++ b/AntiSpam/res/values/public.xml
  821. @@ -1,5 +1,16 @@
  822. <?xml version="1.0" encoding="utf-8"?>
  823. <resources>
  824. + <public type="attr" name="v5_action_bar_tab" id="0x06010000" />
  825. + <public type="attr" name="v5_action_bar_title_layout" id="0x06010001" />
  826. + <public type="attr" name="v5_group_item_bg" id="0x06010002" />
  827. + <public type="attr" name="v5_secondary_tab_indicator_bg" id="0x06010003" />
  828. + <public type="attr" name="v5_secondary_tab_bg" id="0x06010004" />
  829. + <public type="attr" name="v5_list_view_section_item_bg" id="0x06010005" />
  830. + <public type="attr" name="v5_list_view_item_bg" id="0x06010006" />
  831. + <public type="attr" name="v5_tab_indicator_style" id="0x06010007" />
  832. + <public type="attr" name="v5_top_placeholder_enabled" id="0x06010008" />
  833. + <public type="attr" name="v5_tab_indicator_bg" id="0x06010009" />
  834. + <public type="attr" name="v5_tab_indicator_bg_no_title" id="0x0601000a" />
  835. <public type="drawable" name="app_icon" id="0x7f020000" />
  836. <public type="drawable" name="mark_number_dialog_provider" id="0x7f020001" />
  837. <public type="drawable" name="no_calllog" id="0x7f020002" />
  838. @@ -8,6 +19,39 @@
  839. <public type="drawable" name="stat_notify_firewall_hit" id="0x7f020005" />
  840. <public type="drawable" name="title_bar_bg" id="0x7f020006" />
  841. <public type="drawable" name="turn_on_smart_antispam" id="0x7f020007" />
  842. + <public type="drawable" name="v5_group_item_bg_light" id="0x7f020008" />
  843. + <public type="drawable" name="v5_group_first_item_bg_light" id="0x7f020009" />
  844. + <public type="drawable" name="v5_group_last_item_bg_light" id="0x7f02000a" />
  845. + <public type="drawable" name="v5_group_middle_item_bg_light" id="0x7f02000b" />
  846. + <public type="drawable" name="v5_group_single_item_bg_light" id="0x7f02000c" />
  847. + <public type="drawable" name="v5_secondary_tab_indicator_bg_light" id="0x7f02000d" />
  848. + <public type="drawable" name="v5_secondary_tab_bg_left_normal_light" id="0x7f02000e" />
  849. + <public type="drawable" name="v5_secondary_tab_bg_left_pressed_light" id="0x7f02000f" />
  850. + <public type="drawable" name="v5_secondary_tab_bg_middle_normal_light" id="0x7f020010" />
  851. + <public type="drawable" name="v5_secondary_tab_bg_middle_pressed_light" id="0x7f020011" />
  852. + <public type="drawable" name="v5_secondary_tab_bg_right_normal_light" id="0x7f020012" />
  853. + <public type="drawable" name="v5_secondary_tab_bg_right_pressed_light" id="0x7f020013" />
  854. + <public type="drawable" name="v5_btn_next_light" id="0x7f020014" />
  855. + <public type="drawable" name="v5_btn_next_disabled_light" id="0x7f020015" />
  856. + <public type="drawable" name="v5_btn_next_normal_light" id="0x7f020016" />
  857. + <public type="drawable" name="v5_btn_next_pressed_light" id="0x7f020017" />
  858. + <public type="drawable" name="v5_bottom_bar_top_line_light" id="0x7f020018" />
  859. + <public type="drawable" name="v5_list_view_item_bg_light" id="0x7f020019" />
  860. + <public type="drawable" name="v5_list_view_first_item_bg_normal_light" id="0x7f02001a" />
  861. + <public type="drawable" name="v5_list_view_first_item_bg_pressed_light" id="0x7f02001b" />
  862. + <public type="drawable" name="v5_list_view_first_item_bg_selected_light" id="0x7f02001c" />
  863. + <public type="drawable" name="v5_list_view_last_item_bg_normal_light" id="0x7f02001d" />
  864. + <public type="drawable" name="v5_list_view_last_item_bg_pressed_light" id="0x7f02001e" />
  865. + <public type="drawable" name="v5_list_view_last_item_bg_selected_light" id="0x7f02001f" />
  866. + <public type="drawable" name="v5_list_view_middle_item_bg_normal_light" id="0x7f020020" />
  867. + <public type="drawable" name="v5_list_view_middle_item_bg_pressed_light" id="0x7f020021" />
  868. + <public type="drawable" name="v5_list_view_middle_item_bg_selected_light" id="0x7f020022" />
  869. + <public type="drawable" name="v5_list_view_section_item_bg_light" id="0x7f020023" />
  870. + <public type="drawable" name="v5_list_view_single_item_bg_normal_light" id="0x7f020024" />
  871. + <public type="drawable" name="v5_list_view_single_item_bg_pressed_light" id="0x7f020025" />
  872. + <public type="drawable" name="v5_list_view_single_item_bg_selected_light" id="0x7f020026" />
  873. + <public type="drawable" name="v5_tab_indicator_bg_light" id="0x7f020027" />
  874. + <public type="drawable" name="v5_tab_indicator_bg_no_title_light" id="0x7f020028" />
  875. <public type="layout" name="fw_add_firewall_member" id="0x7f030000" />
  876. <public type="layout" name="fw_black_white_list" id="0x7f030001" />
  877. <public type="layout" name="fw_blacklist_hint_listitem" id="0x7f030002" />
  878. @@ -42,6 +86,18 @@
  879. <public type="dimen" name="list_item_maxwidth" id="0x7f060005" />
  880. <public type="dimen" name="list_item_title_maxwidth" id="0x7f060006" />
  881. <public type="dimen" name="log_detail_title_height" id="0x7f060007" />
  882. + <public type="dimen" name="v5_text_font_size_primary" id="0x7f060008" />
  883. + <public type="dimen" name="v5_text_font_size_list_primary" id="0x7f060009" />
  884. + <public type="dimen" name="v5_text_font_size_list_secondary" id="0x7f06000a" />
  885. + <public type="dimen" name="v5_text_font_size_button" id="0x7f06000b" />
  886. + <public type="dimen" name="v5_list_view_padding_horizontal" id="0x7f06000c" />
  887. + <public type="dimen" name="v5_list_view_double_line_height" id="0x7f06000d" />
  888. + <public type="dimen" name="v5_text_font_size_small" id="0x7f06000e" />
  889. + <public type="dimen" name="v5_list_view_single_line_height" id="0x7f06000f" />
  890. + <public type="dimen" name="v5_text_font_size_title" id="0x7f060010" />
  891. + <public type="dimen" name="v5_text_font_size_title_bar_medium" id="0x7f060011" />
  892. + <public type="dimen" name="v5_text_font_size_title_bar_secondary_medium" id="0x7f060012" />
  893. + <public type="dimen" name="v5_list_view_treble_line_height" id="0x7f060013" />
  894. <public type="string" name="app_name" id="0x7f070000" />
  895. <public type="string" name="firewall_settings_tab_title" id="0x7f070001" />
  896. <public type="string" name="black_white_list_tab_title" id="0x7f070002" />
  897. diff --git a/AntiSpam/res/values/styles.xml b/AntiSpam/res/values/styles.xml
  898. index 5a3c0a4..cf175b7 100644
  899. --- a/AntiSpam/res/values/styles.xml
  900. +++ b/AntiSpam/res/values/styles.xml
  901. @@ -1,14 +1,148 @@
  902. <?xml version="1.0" encoding="utf-8"?>
  903. <resources>
  904. - <style name="ActionBarStyle" parent="@miui:style/V5.Widget.ActionBar">
  905. + <style name="V5" />
  906. + <style name="V5.Theme" parent="@android:style/Theme.Holo.Light">
  907. + <item name="v5_group_item_bg">@drawable/v5_group_item_bg_light</item>
  908. + <item name="v5_secondary_tab_indicator_bg">@drawable/v5_secondary_tab_indicator_bg_light</item>
  909. + <item name="v5_secondary_tab_bg">@drawable/v5_secondary_tab_bg_light</item>
  910. + <item name="v5_list_view_section_item_bg">@drawable/v5_list_view_section_item_bg_light</item>
  911. + <item name="v5_list_view_item_bg">@drawable/v5_list_view_item_bg_light</item>
  912. + <item name="v5_top_placeholder_enabled">true</item>
  913. + <item name="v5_tab_indicator_bg">@drawable/v5_tab_indicator_bg_light</item>
  914. + <item name="v5_tab_indicator_bg_no_title">@drawable/v5_tab_indicator_bg_no_title_light</item>
  915. + </style>
  916. + <style name="V5.Theme.Light" parent="@style/V5.Theme" />
  917. + <style name="V5.Theme.Light.Settings" parent="@style/V5.Theme.Light" />
  918. + <style name="V5.Theme.Light.Translucent" parent="@style/V5.Theme.Light">
  919. + <item name="android:windowBackground">@android:color/transparent</item>
  920. + <item name="android:windowIsTranslucent">true</item>
  921. + <item name="android:windowAnimationStyle">@android:style/Animation</item>
  922. + <item name="android:colorBackgroundCacheHint">@null</item>
  923. + </style>
  924. + <style name="V5.Theme.Light.Translucent.NoTitle" parent="@style/V5.Theme.Light.Translucent">
  925. + <item name="android:windowNoTitle">true</item>
  926. + <item name="v5_tab_indicator_style">@style/V5.Widget.TabIndicator.NoTitle</item>
  927. + <item name="v5_top_placeholder_enabled">false</item>
  928. + </style>
  929. + <style name="V5.TextAppearance" parent="@android:style/TextAppearance">
  930. + <item name="android:textSize">@dimen/v5_text_font_size_primary</item>
  931. + </style>
  932. + <style name="V5.TextAppearance.Title" parent="@style/V5.TextAppearance">
  933. + <item name="android:textSize">@dimen/v5_text_font_size_title</item>
  934. + <item name="android:textStyle">bold</item>
  935. + <item name="android:textColor">#ffffffff</item>
  936. + <item name="android:shadowColor">#4d000000</item>
  937. + <item name="android:shadowDx">0.0</item>
  938. + <item name="android:shadowDy">5.0</item>
  939. + <item name="android:shadowRadius">10.0</item>
  940. + </style>
  941. + <style name="V5.TextAppearance.Title.Medium" parent="@style/V5.TextAppearance.Title">
  942. + <item name="android:textSize">@dimen/v5_text_font_size_title_bar_medium</item>
  943. + </style>
  944. + <style name="V5.TextAppearance.Title.Medium.Secondary" parent="@style/V5.TextAppearance.Title">
  945. + <item name="android:textSize">@dimen/v5_text_font_size_title_bar_secondary_medium</item>
  946. + <item name="android:textStyle">normal</item>
  947. + </style>
  948. + <style name="V5.TextAppearance.Small" parent="@android:style/TextAppearance.Small">
  949. + <item name="android:textSize">@dimen/v5_text_font_size_small</item>
  950. + </style>
  951. + <style name="V5.TextAppearance.List" parent="@style/V5.TextAppearance">
  952. + <item name="android:textSize">@dimen/v5_text_font_size_list_primary</item>
  953. + <item name="android:textStyle">bold</item>
  954. + <item name="android:textColor">#e6000000</item>
  955. + </style>
  956. + <style name="V5.TextAppearance.List.Primary" parent="@style/V5.TextAppearance.List" />
  957. + <style name="V5.TextAppearance.List.Secondary" parent="@style/V5.TextAppearance.List">
  958. + <item name="android:textSize">@dimen/v5_text_font_size_list_secondary</item>
  959. + <item name="android:textStyle">normal</item>
  960. + <item name="android:textColor">#80000000</item>
  961. + <item name="android:shadowColor">#80ffffff</item>
  962. + <item name="android:shadowDx">0.0</item>
  963. + <item name="android:shadowDy">1.0</item>
  964. + <item name="android:shadowRadius">1.0</item>
  965. + </style>
  966. + <style name="V5.TextAppearance.SecondaryTabIndicator" parent="@style/V5.TextAppearance">
  967. + <item name="android:textSize">@dimen/v5_text_font_size_button</item>
  968. + <item name="android:textColor">#cc000000</item>
  969. + </style>
  970. + <style name="V5.Widget" parent="@style/V5" />
  971. + <style name="V5.Widget.SecondaryTabIndicator" parent="@style/V5.Widget">
  972. + <item name="android:orientation">horizontal</item>
  973. + <item name="android:background">?v5_secondary_tab_indicator_bg</item>
  974. + <item name="android:layout_width">fill_parent</item>
  975. + <item name="android:layout_height">wrap_content</item>
  976. + </style>
  977. + <style name="V5.Widget.TabIndicator" parent="@style/V5.Widget">
  978. + <item name="android:orientation">horizontal</item>
  979. + <item name="android:background">?v5_tab_indicator_bg</item>
  980. + <item name="android:layout_width">fill_parent</item>
  981. + <item name="android:layout_height">wrap_content</item>
  982. + </style>
  983. + <style name="V5.Widget.TabIndicator.NoTitle" parent="@style/V5.Widget.TabIndicator">
  984. + <item name="android:background">?v5_tab_indicator_bg_no_title</item>
  985. + </style>
  986. + <style name="V5.Widget.SecondaryTab" parent="@style/V5.Widget">
  987. + <item name="android:textAppearance">@style/V5.TextAppearance.SecondaryTabIndicator</item>
  988. + <item name="android:gravity">center</item>
  989. + <item name="android:background">?v5_secondary_tab_bg</item>
  990. + <item name="android:layout_width">0.0dip</item>
  991. + <item name="android:layout_height">wrap_content</item>
  992. + <item name="android:shadowColor">#80ffffff</item>
  993. + <item name="android:shadowDx">0.0</item>
  994. + <item name="android:shadowDy">2.0</item>
  995. + <item name="android:shadowRadius">5.0</item>
  996. + <item name="android:layout_weight">1.0</item>
  997. + </style>
  998. + <style name="V5.Widget.ListView" parent="@android:style/Widget.ListView.White">
  999. + <item name="android:fadingEdge">none</item>
  1000. + <item name="android:listSelector">@android:color/transparent</item>
  1001. + <item name="android:cacheColorHint">@null</item>
  1002. + <item name="android:divider">@null</item>
  1003. + </style>
  1004. + <style name="V5.Widget.ListView.Item" parent="@style/V5.Widget">
  1005. + <item name="android:gravity">left|center</item>
  1006. + <item name="android:background">?v5_list_view_item_bg</item>
  1007. + <item name="android:layout_width">fill_parent</item>
  1008. + </style>
  1009. + <style name="V5.Widget.ListView.Item.SingleLine" parent="@style/V5.Widget.ListView.Item">
  1010. + <item name="android:textAppearance">@style/V5.TextAppearance.List</item>
  1011. + <item name="android:paddingLeft">@dimen/v5_list_view_padding_horizontal</item>
  1012. + <item name="android:paddingRight">@dimen/v5_list_view_padding_horizontal</item>
  1013. + <item name="android:layout_height">@dimen/v5_list_view_single_line_height</item>
  1014. + <item name="android:minHeight">@dimen/v5_list_view_single_line_height</item>
  1015. + <item name="android:singleLine">true</item>
  1016. + </style>
  1017. + <style name="V5.Widget.ListView.Item.DoubleLine" parent="@style/V5.Widget.ListView.Item">
  1018. + <item name="android:textAppearance">@style/V5.TextAppearance.List.Primary</item>
  1019. + <item name="android:paddingLeft">@dimen/v5_list_view_padding_horizontal</item>
  1020. + <item name="android:paddingRight">@dimen/v5_list_view_padding_horizontal</item>
  1021. + <item name="android:layout_height">@dimen/v5_list_view_double_line_height</item>
  1022. + <item name="android:minHeight">@dimen/v5_list_view_double_line_height</item>
  1023. + <item name="android:singleLine">true</item>
  1024. + </style>
  1025. + <style name="V5.Widget.ListView.Item.TrebleLine" parent="@style/V5.Widget.ListView.Item">
  1026. + <item name="android:textAppearance">@style/V5.TextAppearance.List.Primary</item>
  1027. + <item name="android:paddingLeft">@dimen/v5_list_view_padding_horizontal</item>
  1028. + <item name="android:paddingRight">@dimen/v5_list_view_padding_horizontal</item>
  1029. + <item name="android:layout_height">@dimen/v5_list_view_treble_line_height</item>
  1030. + <item name="android:minHeight">@dimen/v5_list_view_treble_line_height</item>
  1031. + <item name="android:singleLine">true</item>
  1032. + </style>
  1033. + <style name="Theme.Light.ActionBar.NoTitle" parent="@android:style/Theme.Light">
  1034. + <item name="android:actionBarStyle">@style/Widget.ActionBar.NoTitle</item>
  1035. + </style>
  1036. + <style name="Widget.ActionBar.NoTitle" parent="@android:style/Widget.ActionBar">
  1037. + <item name="android:displayOptions"></item>
  1038. + </style>
  1039. + <style name="ActionBarStyle" parent="@android:style/Widget.Holo.ActionBar">
  1040. <item name="android:height">@dimen/log_detail_title_height</item>
  1041. <item name="android:displayOptions">showTitle</item>
  1042. </style>
  1043. - <style name="AntiSpam.Theme.Tab" parent="@miui:style/V5.Theme.Light.ActionBar.NoTitle">
  1044. - <item name="miui:v5_action_bar_tab">true</item>
  1045. + <style name="AntiSpam.Theme.Tab" parent="@style/Theme.Light.ActionBar.NoTitle">
  1046. + <item name="v5_action_bar_tab">true</item>
  1047. </style>
  1048. - <style name="AntiSpam.Theme.LogActivity" parent="@miui:style/V5.Theme.Light">
  1049. + <style name="AntiSpam.Theme.LogActivity" parent="@android:style/Theme.Light">
  1050. <item name="android:actionBarStyle">@style/ActionBarStyle</item>
  1051. - <item name="miui:v5_action_bar_title_layout">@layout/fw_title_panel</item>
  1052. + <item name="v5_action_bar_title_layout">@layout/fw_title_panel</item>
  1053. </style>
  1054. </resources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement