Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- commit 349a61163df3b9e108f89916966fb095695d6ca6
- Author: munjeni <[email protected]>
- Date: Wed Jun 26 22:09:51 2013 +0200
- 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\!\!\!
- diff --git a/AntiSpam/AndroidManifest.xml b/AntiSpam/AndroidManifest.xml
- index c824fd4..cfa671c 100644
- --- a/AntiSpam/AndroidManifest.xml
- +++ b/AntiSpam/AndroidManifest.xml
- @@ -2,7 +2,7 @@
- <manifest android:sharedUserId="android.uid.system" android:versionCode="16" android:versionName="4.1.2-eng..20130503.120351" package="com.miui.antispam"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" />
- - <application android:theme="@miui:style/V5.Theme.Light" android:label="@string/app_name" android:icon="@drawable/app_icon">
- + <application android:theme="@style/V5.Theme.Light" android:label="@string/app_name" android:icon="@drawable/app_icon">
- <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">
- <intent-filter>
- <action android:name="android.intent.action.SET_FIREWALL" />
- @@ -12,13 +12,13 @@
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
- - <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">
- + <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">
- <intent-filter>
- <action android:name="android.intent.action.VIEW" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
- - <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">
- + <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">
- <intent-filter>
- <action android:name="android.intent.action.VIEW" />
- <category android:name="android.intent.category.DEFAULT" />
- @@ -42,14 +42,14 @@
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
- - <activity android:theme="@miui:style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.AddFirewall" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
- + <activity android:theme="@style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.AddFirewall" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
- <intent-filter>
- <action android:name="android.intent.action.ADD_FIREWALL" />
- <data android:mimeType="vnd.android.cursor.item/firewall-blacklist" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
- - <activity android:theme="@miui:style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.MarkNumberActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
- + <activity android:theme="@style/V5.Theme.Light.Translucent.NoTitle" android:name=".firewall.MarkNumberActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize">
- <intent-filter>
- <action android:name="android.intent.action.MARK_ANTISPAM" />
- <category android:name="android.intent.category.DEFAULT" />
- @@ -61,7 +61,7 @@
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
- - <activity android:theme="@miui:style/V5.Theme.Light.Settings" android:label="@string/firewall_settings_tab_title" android:name=".firewall.FirewallSettings" android:screenOrientation="portrait" />
- + <activity android:theme="@style/V5.Theme.Light.Settings" android:label="@string/firewall_settings_tab_title" android:name=".firewall.FirewallSettings" android:screenOrientation="portrait" />
- <receiver android:name=".firewall.FirewallReceiver">
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED" />
- diff --git a/AntiSpam/apktool.yml b/AntiSpam/apktool.yml
- index e9de673..18020cd 100644
- --- a/AntiSpam/apktool.yml
- +++ b/AntiSpam/apktool.yml
- @@ -4,4 +4,3 @@ isFrameworkApk: false
- usesFramework:
- ids:
- - 1
- - - 6
- 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
- new file mode 100644
- index 0000000..14b5c84
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_bottom_bar_top_line_light.9.png differ
- diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_disabled_light.png b/AntiSpam/res/drawable-hdpi/v5_btn_next_disabled_light.png
- new file mode 100644
- index 0000000..cc53f37
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_btn_next_disabled_light.png differ
- diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_light.xml b/AntiSpam/res/drawable-hdpi/v5_btn_next_light.xml
- new file mode 100644
- index 0000000..082faeb
- --- /dev/null
- +++ b/AntiSpam/res/drawable-hdpi/v5_btn_next_light.xml
- @@ -0,0 +1,7 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:state_enabled="false" android:drawable="@drawable/v5_btn_next_disabled_light" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_btn_next_pressed_light" />
- + <item android:drawable="@drawable/v5_btn_next_normal_light" />
- +</selector>
- diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_normal_light.png b/AntiSpam/res/drawable-hdpi/v5_btn_next_normal_light.png
- new file mode 100644
- index 0000000..ae2db08
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_btn_next_normal_light.png differ
- diff --git a/AntiSpam/res/drawable-hdpi/v5_btn_next_pressed_light.png b/AntiSpam/res/drawable-hdpi/v5_btn_next_pressed_light.png
- new file mode 100644
- index 0000000..3e1ffed
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_btn_next_pressed_light.png differ
- 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
- new file mode 100644
- index 0000000..8c0ac23
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_first_item_bg_light.9.png differ
- diff --git a/AntiSpam/res/drawable-hdpi/v5_group_item_bg_light.xml b/AntiSpam/res/drawable-hdpi/v5_group_item_bg_light.xml
- new file mode 100644
- index 0000000..edb74db
- --- /dev/null
- +++ b/AntiSpam/res/drawable-hdpi/v5_group_item_bg_light.xml
- @@ -0,0 +1,9 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:drawable="@drawable/v5_group_single_item_bg_light" android:state_single="true" />
- + <item android:drawable="@drawable/v5_group_first_item_bg_light" android:state_first="true" />
- + <item android:drawable="@drawable/v5_group_middle_item_bg_light" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_group_last_item_bg_light" android:state_last="true" />
- + <item android:drawable="@drawable/v5_group_single_item_bg_light" />
- +</selector>
- 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
- new file mode 100644
- index 0000000..09cf98b
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_last_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..8c3bffd
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_middle_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..9a76e32
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_group_single_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_first_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..df7c182
- --- /dev/null
- +++ b/AntiSpam/res/drawable-hdpi/v5_list_view_item_bg_light.xml
- @@ -0,0 +1,24 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" android:state_single="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_single="true" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" android:state_single="true" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" android:state_single="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_first_item_bg_pressed_light" android:state_first="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_first="true" />
- + <item android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_activated="true" android:state_first="true" />
- + <item android:drawable="@drawable/v5_list_view_first_item_bg_normal_light" android:state_first="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_middle_item_bg_pressed_light" android:state_middle="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_activated="true" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_list_view_middle_item_bg_normal_light" android:state_middle="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_last_item_bg_pressed_light" android:state_last="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_last="true" />
- + <item android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_activated="true" android:state_last="true" />
- + <item android:drawable="@drawable/v5_list_view_last_item_bg_normal_light" android:state_last="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" />
- +</selector>
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_last_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_middle_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e12a9ff
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_section_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_list_view_single_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d8352c
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..2500099
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_left_pressed_light.9.png differ
- diff --git a/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_light.xml b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_light.xml
- new file mode 100644
- index 0000000..b3a72b7
- --- /dev/null
- +++ b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_light.xml
- @@ -0,0 +1,19 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_single="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_left_normal_light" android:state_first="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_middle="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_right_normal_light" android:state_last="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" />
- +</selector>
- 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
- new file mode 100644
- index 0000000..3d8352c
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..1edcae5
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_middle_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d8352c
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..003f764
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_bg_right_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..9fb7b83
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_secondary_tab_indicator_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..2b17619
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..12d6b2b
- Binary files /dev/null and b/AntiSpam/res/drawable-hdpi/v5_tab_indicator_bg_no_title_light.9.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/app_icon.png b/AntiSpam/res/drawable-mdpi/app_icon.png
- new file mode 100644
- index 0000000..5456cb6
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/app_icon.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/mark_number_dialog_provider.png b/AntiSpam/res/drawable-mdpi/mark_number_dialog_provider.png
- new file mode 100644
- index 0000000..7b287da
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/mark_number_dialog_provider.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/no_calllog.png b/AntiSpam/res/drawable-mdpi/no_calllog.png
- new file mode 100644
- index 0000000..969bace
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/no_calllog.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/no_mslog.png b/AntiSpam/res/drawable-mdpi/no_mslog.png
- new file mode 100644
- index 0000000..7dee88f
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/no_mslog.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/stat_notify_firewall.png b/AntiSpam/res/drawable-mdpi/stat_notify_firewall.png
- new file mode 100644
- index 0000000..f6eeb11
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/stat_notify_firewall.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/stat_notify_firewall_hit.png b/AntiSpam/res/drawable-mdpi/stat_notify_firewall_hit.png
- new file mode 100644
- index 0000000..6b1221c
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/stat_notify_firewall_hit.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/title_bar_bg.9.png b/AntiSpam/res/drawable-mdpi/title_bar_bg.9.png
- new file mode 100644
- index 0000000..85aabfc
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/title_bar_bg.9.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/turn_on_smart_antispam.png b/AntiSpam/res/drawable-mdpi/turn_on_smart_antispam.png
- new file mode 100644
- index 0000000..e8b43f2
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/turn_on_smart_antispam.png differ
- 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
- new file mode 100644
- index 0000000..14b5c84
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_bottom_bar_top_line_light.9.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_disabled_light.png b/AntiSpam/res/drawable-mdpi/v5_btn_next_disabled_light.png
- new file mode 100644
- index 0000000..cc53f37
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_btn_next_disabled_light.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_light.xml b/AntiSpam/res/drawable-mdpi/v5_btn_next_light.xml
- new file mode 100644
- index 0000000..082faeb
- --- /dev/null
- +++ b/AntiSpam/res/drawable-mdpi/v5_btn_next_light.xml
- @@ -0,0 +1,7 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:state_enabled="false" android:drawable="@drawable/v5_btn_next_disabled_light" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_btn_next_pressed_light" />
- + <item android:drawable="@drawable/v5_btn_next_normal_light" />
- +</selector>
- diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_normal_light.png b/AntiSpam/res/drawable-mdpi/v5_btn_next_normal_light.png
- new file mode 100644
- index 0000000..ae2db08
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_btn_next_normal_light.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/v5_btn_next_pressed_light.png b/AntiSpam/res/drawable-mdpi/v5_btn_next_pressed_light.png
- new file mode 100644
- index 0000000..3e1ffed
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_btn_next_pressed_light.png differ
- 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
- new file mode 100644
- index 0000000..8c0ac23
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_first_item_bg_light.9.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/v5_group_item_bg_light.xml b/AntiSpam/res/drawable-mdpi/v5_group_item_bg_light.xml
- new file mode 100644
- index 0000000..edb74db
- --- /dev/null
- +++ b/AntiSpam/res/drawable-mdpi/v5_group_item_bg_light.xml
- @@ -0,0 +1,9 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:drawable="@drawable/v5_group_single_item_bg_light" android:state_single="true" />
- + <item android:drawable="@drawable/v5_group_first_item_bg_light" android:state_first="true" />
- + <item android:drawable="@drawable/v5_group_middle_item_bg_light" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_group_last_item_bg_light" android:state_last="true" />
- + <item android:drawable="@drawable/v5_group_single_item_bg_light" />
- +</selector>
- 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
- new file mode 100644
- index 0000000..09cf98b
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_last_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..8c3bffd
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_middle_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..9a76e32
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_group_single_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_first_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..df7c182
- --- /dev/null
- +++ b/AntiSpam/res/drawable-mdpi/v5_list_view_item_bg_light.xml
- @@ -0,0 +1,24 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" android:state_single="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_single="true" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" android:state_single="true" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" android:state_single="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_first_item_bg_pressed_light" android:state_first="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_first="true" />
- + <item android:drawable="@drawable/v5_list_view_first_item_bg_selected_light" android:state_activated="true" android:state_first="true" />
- + <item android:drawable="@drawable/v5_list_view_first_item_bg_normal_light" android:state_first="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_middle_item_bg_pressed_light" android:state_middle="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_list_view_middle_item_bg_selected_light" android:state_activated="true" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_list_view_middle_item_bg_normal_light" android:state_middle="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_last_item_bg_pressed_light" android:state_last="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_last="true" />
- + <item android:drawable="@drawable/v5_list_view_last_item_bg_selected_light" android:state_activated="true" android:state_last="true" />
- + <item android:drawable="@drawable/v5_list_view_last_item_bg_normal_light" android:state_last="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_list_view_single_item_bg_pressed_light" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_selected_light" android:state_activated="true" />
- + <item android:drawable="@drawable/v5_list_view_single_item_bg_normal_light" />
- +</selector>
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_last_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_middle_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e12a9ff
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_section_item_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..09d9eb5
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..e43a67a
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d4f8dd
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_list_view_single_item_bg_selected_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d8352c
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..2500099
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_left_pressed_light.9.png differ
- diff --git a/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_light.xml b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_light.xml
- new file mode 100644
- index 0000000..b3a72b7
- --- /dev/null
- +++ b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_light.xml
- @@ -0,0 +1,19 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<selector
- + xmlns:android="http://schemas.android.com/apk/res/android">
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_single="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_single="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_left_pressed_light" android:state_first="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_left_normal_light" android:state_first="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" android:state_middle="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" android:state_middle="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_right_pressed_light" android:state_last="true" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_right_normal_light" android:state_last="true" />
- + <item android:state_pressed="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
- + <item android:state_selected="true" android:drawable="@drawable/v5_secondary_tab_bg_middle_pressed_light" />
- + <item android:drawable="@drawable/v5_secondary_tab_bg_middle_normal_light" />
- +</selector>
- 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
- new file mode 100644
- index 0000000..3d8352c
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..1edcae5
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_middle_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..3d8352c
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_normal_light.9.png differ
- 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
- new file mode 100644
- index 0000000..003f764
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_bg_right_pressed_light.9.png differ
- 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
- new file mode 100644
- index 0000000..9fb7b83
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_secondary_tab_indicator_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..2b17619
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_light.9.png differ
- 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
- new file mode 100644
- index 0000000..12d6b2b
- Binary files /dev/null and b/AntiSpam/res/drawable-mdpi/v5_tab_indicator_bg_no_title_light.9.png differ
- diff --git a/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml b/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml
- index e3a4243..86f65c8 100644
- --- a/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml
- +++ b/AntiSpam/res/layout-largeui-hdpi/fw_log_group_listitem.xml
- @@ -1,8 +1,8 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<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"
- +<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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- - <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" />
- - <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" />
- - <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" />
- + <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" />
- + <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" />
- + <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" />
- + <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" />
- </RelativeLayout>
- diff --git a/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml b/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml
- index e3a4243..86f65c8 100644
- --- a/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml
- +++ b/AntiSpam/res/layout-mediumui-hdpi/fw_log_group_listitem.xml
- @@ -1,8 +1,8 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<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"
- +<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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- - <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" />
- - <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" />
- - <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" />
- + <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" />
- + <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" />
- + <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" />
- + <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" />
- </RelativeLayout>
- diff --git a/AntiSpam/res/layout/fw_add_firewall_member.xml b/AntiSpam/res/layout/fw_add_firewall_member.xml
- index a001320..a654783 100644
- --- a/AntiSpam/res/layout/fw_add_firewall_member.xml
- +++ b/AntiSpam/res/layout/fw_add_firewall_member.xml
- @@ -4,8 +4,8 @@
- <LinearLayout android:orientation="vertical" android:padding="15.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <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" />
- - <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" />
- - <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" />
- + <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" />
- + <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" />
- <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" />
- </LinearLayout>
- </ScrollView>
- diff --git a/AntiSpam/res/layout/fw_black_white_list.xml b/AntiSpam/res/layout/fw_black_white_list.xml
- index 5ed7489..2149e82 100644
- --- a/AntiSpam/res/layout/fw_black_white_list.xml
- +++ b/AntiSpam/res/layout/fw_black_white_list.xml
- @@ -1,9 +1,9 @@
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@miui:style/V5.Widget.SecondaryTabIndicator">
- - <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" />
- - <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" />
- + <LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/V5.Widget.SecondaryTabIndicator">
- + <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" />
- + <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" />
- </LinearLayout>
- <ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0" android:fastScrollEnabled="true" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml b/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml
- index 1e221b3..76cbaaf 100644
- --- a/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml
- +++ b/AntiSpam/res/layout/fw_blacklist_hint_listitem.xml
- @@ -1,5 +1,5 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<LinearLayout android:background="?miui:v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
- +<LinearLayout android:background="@attr/v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- + <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" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_blacklist_listitem.xml b/AntiSpam/res/layout/fw_blacklist_listitem.xml
- index 9966149..dcf309e 100644
- --- a/AntiSpam/res/layout/fw_blacklist_listitem.xml
- +++ b/AntiSpam/res/layout/fw_blacklist_listitem.xml
- @@ -1,10 +1,10 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<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"
- +<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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip">
- - <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" />
- + <TextView android:id="@id/name" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
- </LinearLayout>
- <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip">
- - <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" />
- + <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" />
- </LinearLayout>
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_keyword_hint_listitem.xml b/AntiSpam/res/layout/fw_keyword_hint_listitem.xml
- index fb7226b..07964fc 100644
- --- a/AntiSpam/res/layout/fw_keyword_hint_listitem.xml
- +++ b/AntiSpam/res/layout/fw_keyword_hint_listitem.xml
- @@ -1,5 +1,5 @@
- <?xml version="1.0" encoding="utf-8"?>
- <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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- + <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/fw_keyword_list_hint" style="@style/V5.TextAppearance.List.Secondary" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_keyword_listitem.xml b/AntiSpam/res/layout/fw_keyword_listitem.xml
- index 014ae9d..5249450 100644
- --- a/AntiSpam/res/layout/fw_keyword_listitem.xml
- +++ b/AntiSpam/res/layout/fw_keyword_listitem.xml
- @@ -1,5 +1,5 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<LinearLayout android:id="@id/root" android:layout_width="fill_parent" android:layout_height="54.0dip" style="@miui:style/V5.Widget.ListView.Item.SingleLine"
- +<LinearLayout android:id="@id/root" android:layout_width="fill_parent" android:layout_height="54.0dip" style="@style/V5.Widget.ListView.Item.SingleLine"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- + <TextView android:id="@id/data" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_log_fragment.xml b/AntiSpam/res/layout/fw_log_fragment.xml
- index e351d4a..02faf03 100644
- --- a/AntiSpam/res/layout/fw_log_fragment.xml
- +++ b/AntiSpam/res/layout/fw_log_fragment.xml
- @@ -1,9 +1,9 @@
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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">
- - <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" />
- - <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" />
- + <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">
- + <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" />
- + <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" />
- </LinearLayout>
- <ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0" android:fastScrollEnabled="true" />
- <include layout="@layout/fw_log_list_empty" />
- diff --git a/AntiSpam/res/layout/fw_log_group_listitem.xml b/AntiSpam/res/layout/fw_log_group_listitem.xml
- index b05c2b4..8e64d23 100644
- --- a/AntiSpam/res/layout/fw_log_group_listitem.xml
- +++ b/AntiSpam/res/layout/fw_log_group_listitem.xml
- @@ -1,8 +1,8 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<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"
- +<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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- - <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" />
- - <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" />
- - <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" />
- + <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" />
- + <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" />
- + <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" />
- + <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" />
- </RelativeLayout>
- diff --git a/AntiSpam/res/layout/fw_log_list_empty.xml b/AntiSpam/res/layout/fw_log_list_empty.xml
- index 583a584..df4a366 100644
- --- a/AntiSpam/res/layout/fw_log_list_empty.xml
- +++ b/AntiSpam/res/layout/fw_log_list_empty.xml
- @@ -2,5 +2,5 @@
- <LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@android:id/empty" android:layout_width="fill_parent" android:layout_height="fill_parent"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <ImageView android:id="@id/emptyImage" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/no_calllog" />
- - <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" />
- + <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" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_log_listitem.xml b/AntiSpam/res/layout/fw_log_listitem.xml
- index f806c14..eddea80 100644
- --- a/AntiSpam/res/layout/fw_log_listitem.xml
- +++ b/AntiSpam/res/layout/fw_log_listitem.xml
- @@ -1,7 +1,7 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<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"
- +<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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- - <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" />
- - <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" />
- + <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" />
- + <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" />
- + <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" />
- </RelativeLayout>
- diff --git a/AntiSpam/res/layout/fw_mark_number_custom_title.xml b/AntiSpam/res/layout/fw_mark_number_custom_title.xml
- index 2e133ab..dcf4475 100644
- --- a/AntiSpam/res/layout/fw_mark_number_custom_title.xml
- +++ b/AntiSpam/res/layout/fw_mark_number_custom_title.xml
- @@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="utf-8"?>
- <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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- - <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" />
- + <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" />
- + <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" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_title_panel.xml b/AntiSpam/res/layout/fw_title_panel.xml
- index b0e8f16..1097e58 100644
- --- a/AntiSpam/res/layout/fw_title_panel.xml
- +++ b/AntiSpam/res/layout/fw_title_panel.xml
- @@ -2,8 +2,8 @@
- <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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <LinearLayout android:layout_gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
- - <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" />
- - <TextView android:id="@id/count" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@miui:style/V5.TextAppearance.Title.Medium.Secondary" />
- + <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" />
- + <TextView android:id="@id/count" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/V5.TextAppearance.Title.Medium.Secondary" />
- </LinearLayout>
- - <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" />
- + <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" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml b/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml
- index 333fb1d..cd5f5f8 100644
- --- a/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml
- +++ b/AntiSpam/res/layout/fw_turn_on_smart_antispam_activity.xml
- @@ -1,8 +1,8 @@
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- - <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" />
- + <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" />
- + <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" />
- <ImageView android:background="@drawable/turn_on_smart_antispam" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="20.0dip" />
- <FrameLayout android:id="@id/switcher_container" android:layout_width="fill_parent" android:layout_height="wrap_content" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml b/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml
- index 3738976..e003dba 100644
- --- a/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml
- +++ b/AntiSpam/res/layout/fw_whitelist_hint_listitem.xml
- @@ -1,5 +1,5 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<LinearLayout android:background="?miui:v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
- +<LinearLayout android:background="@attr/v5_list_view_section_item_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
- xmlns:android="http://schemas.android.com/apk/res/android">
- - <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" />
- + <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" />
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/fw_whitelist_listitem.xml b/AntiSpam/res/layout/fw_whitelist_listitem.xml
- index f623590..b06de1a 100644
- --- a/AntiSpam/res/layout/fw_whitelist_listitem.xml
- +++ b/AntiSpam/res/layout/fw_whitelist_listitem.xml
- @@ -1,10 +1,10 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<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"
- +<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"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <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">
- - <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" />
- + <TextView android:id="@id/name" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" style="@style/V5.TextAppearance.List.Primary" />
- </LinearLayout>
- <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip">
- - <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" />
- + <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" />
- </LinearLayout>
- </LinearLayout>
- diff --git a/AntiSpam/res/layout/preference_show_modify.xml b/AntiSpam/res/layout/preference_show_modify.xml
- index fd6905c..05548f6 100644
- --- a/AntiSpam/res/layout/preference_show_modify.xml
- +++ b/AntiSpam/res/layout/preference_show_modify.xml
- @@ -1,3 +1,3 @@
- <?xml version="1.0" encoding="utf-8"?>
- -<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"
- +<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"
- xmlns:android="http://schemas.android.com/apk/res/android" />
- diff --git a/AntiSpam/res/values/attrs.xml b/AntiSpam/res/values/attrs.xml
- new file mode 100644
- index 0000000..4e718af
- --- /dev/null
- +++ b/AntiSpam/res/values/attrs.xml
- @@ -0,0 +1,14 @@
- +<?xml version="1.0" encoding="utf-8"?>
- +<resources>
- + <attr name="v5_action_bar_tab" format="boolean" />
- + <attr name="v5_action_bar_title_layout" format="reference" />
- + <attr name="v5_group_item_bg" format="reference" />
- + <attr name="v5_secondary_tab_indicator_bg" format="reference" />
- + <attr name="v5_secondary_tab_bg" format="reference" />
- + <attr name="v5_list_view_section_item_bg" format="reference" />
- + <attr name="v5_list_view_item_bg" format="reference" />
- + <attr name="v5_tab_indicator_style" format="reference" />
- + <attr name="v5_top_placeholder_enabled" format="boolean" />
- + <attr name="v5_tab_indicator_bg" format="reference" />
- + <attr name="v5_tab_indicator_bg_no_title" format="reference" />
- +</resources>
- \ No newline at end of file
- diff --git a/AntiSpam/res/values/dimens.xml b/AntiSpam/res/values/dimens.xml
- index 3529a12..f7e1529 100644
- --- a/AntiSpam/res/values/dimens.xml
- +++ b/AntiSpam/res/values/dimens.xml
- @@ -8,4 +8,16 @@
- <dimen name="list_item_maxwidth">160.0dip</dimen>
- <dimen name="list_item_title_maxwidth">200.0dip</dimen>
- <dimen name="log_detail_title_height">48.0dip</dimen>
- + <dimen name="v5_text_font_size_primary">16.0sp</dimen>
- + <dimen name="v5_text_font_size_list_primary">16.0sp</dimen>
- + <dimen name="v5_text_font_size_list_secondary">13.0sp</dimen>
- + <dimen name="v5_text_font_size_button">15.0sp</dimen>
- + <dimen name="v5_list_view_padding_horizontal">15.0dip</dimen>
- + <dimen name="v5_list_view_double_line_height">55.0dip</dimen>
- + <dimen name="v5_text_font_size_small">13.0sp</dimen>
- + <dimen name="v5_list_view_single_line_height">49.0dip</dimen>
- + <dimen name="v5_text_font_size_title">17.0sp</dimen>
- + <dimen name="v5_text_font_size_title_bar_medium">21.0sp</dimen>
- + <dimen name="v5_text_font_size_title_bar_secondary_medium">13.0sp</dimen>
- + <dimen name="v5_list_view_treble_line_height">63.0dip</dimen>
- </resources>
- diff --git a/AntiSpam/res/values/public.xml b/AntiSpam/res/values/public.xml
- index ae9d431..11b4ade 100644
- --- a/AntiSpam/res/values/public.xml
- +++ b/AntiSpam/res/values/public.xml
- @@ -1,5 +1,16 @@
- <?xml version="1.0" encoding="utf-8"?>
- <resources>
- + <public type="attr" name="v5_action_bar_tab" id="0x06010000" />
- + <public type="attr" name="v5_action_bar_title_layout" id="0x06010001" />
- + <public type="attr" name="v5_group_item_bg" id="0x06010002" />
- + <public type="attr" name="v5_secondary_tab_indicator_bg" id="0x06010003" />
- + <public type="attr" name="v5_secondary_tab_bg" id="0x06010004" />
- + <public type="attr" name="v5_list_view_section_item_bg" id="0x06010005" />
- + <public type="attr" name="v5_list_view_item_bg" id="0x06010006" />
- + <public type="attr" name="v5_tab_indicator_style" id="0x06010007" />
- + <public type="attr" name="v5_top_placeholder_enabled" id="0x06010008" />
- + <public type="attr" name="v5_tab_indicator_bg" id="0x06010009" />
- + <public type="attr" name="v5_tab_indicator_bg_no_title" id="0x0601000a" />
- <public type="drawable" name="app_icon" id="0x7f020000" />
- <public type="drawable" name="mark_number_dialog_provider" id="0x7f020001" />
- <public type="drawable" name="no_calllog" id="0x7f020002" />
- @@ -8,6 +19,39 @@
- <public type="drawable" name="stat_notify_firewall_hit" id="0x7f020005" />
- <public type="drawable" name="title_bar_bg" id="0x7f020006" />
- <public type="drawable" name="turn_on_smart_antispam" id="0x7f020007" />
- + <public type="drawable" name="v5_group_item_bg_light" id="0x7f020008" />
- + <public type="drawable" name="v5_group_first_item_bg_light" id="0x7f020009" />
- + <public type="drawable" name="v5_group_last_item_bg_light" id="0x7f02000a" />
- + <public type="drawable" name="v5_group_middle_item_bg_light" id="0x7f02000b" />
- + <public type="drawable" name="v5_group_single_item_bg_light" id="0x7f02000c" />
- + <public type="drawable" name="v5_secondary_tab_indicator_bg_light" id="0x7f02000d" />
- + <public type="drawable" name="v5_secondary_tab_bg_left_normal_light" id="0x7f02000e" />
- + <public type="drawable" name="v5_secondary_tab_bg_left_pressed_light" id="0x7f02000f" />
- + <public type="drawable" name="v5_secondary_tab_bg_middle_normal_light" id="0x7f020010" />
- + <public type="drawable" name="v5_secondary_tab_bg_middle_pressed_light" id="0x7f020011" />
- + <public type="drawable" name="v5_secondary_tab_bg_right_normal_light" id="0x7f020012" />
- + <public type="drawable" name="v5_secondary_tab_bg_right_pressed_light" id="0x7f020013" />
- + <public type="drawable" name="v5_btn_next_light" id="0x7f020014" />
- + <public type="drawable" name="v5_btn_next_disabled_light" id="0x7f020015" />
- + <public type="drawable" name="v5_btn_next_normal_light" id="0x7f020016" />
- + <public type="drawable" name="v5_btn_next_pressed_light" id="0x7f020017" />
- + <public type="drawable" name="v5_bottom_bar_top_line_light" id="0x7f020018" />
- + <public type="drawable" name="v5_list_view_item_bg_light" id="0x7f020019" />
- + <public type="drawable" name="v5_list_view_first_item_bg_normal_light" id="0x7f02001a" />
- + <public type="drawable" name="v5_list_view_first_item_bg_pressed_light" id="0x7f02001b" />
- + <public type="drawable" name="v5_list_view_first_item_bg_selected_light" id="0x7f02001c" />
- + <public type="drawable" name="v5_list_view_last_item_bg_normal_light" id="0x7f02001d" />
- + <public type="drawable" name="v5_list_view_last_item_bg_pressed_light" id="0x7f02001e" />
- + <public type="drawable" name="v5_list_view_last_item_bg_selected_light" id="0x7f02001f" />
- + <public type="drawable" name="v5_list_view_middle_item_bg_normal_light" id="0x7f020020" />
- + <public type="drawable" name="v5_list_view_middle_item_bg_pressed_light" id="0x7f020021" />
- + <public type="drawable" name="v5_list_view_middle_item_bg_selected_light" id="0x7f020022" />
- + <public type="drawable" name="v5_list_view_section_item_bg_light" id="0x7f020023" />
- + <public type="drawable" name="v5_list_view_single_item_bg_normal_light" id="0x7f020024" />
- + <public type="drawable" name="v5_list_view_single_item_bg_pressed_light" id="0x7f020025" />
- + <public type="drawable" name="v5_list_view_single_item_bg_selected_light" id="0x7f020026" />
- + <public type="drawable" name="v5_tab_indicator_bg_light" id="0x7f020027" />
- + <public type="drawable" name="v5_tab_indicator_bg_no_title_light" id="0x7f020028" />
- <public type="layout" name="fw_add_firewall_member" id="0x7f030000" />
- <public type="layout" name="fw_black_white_list" id="0x7f030001" />
- <public type="layout" name="fw_blacklist_hint_listitem" id="0x7f030002" />
- @@ -42,6 +86,18 @@
- <public type="dimen" name="list_item_maxwidth" id="0x7f060005" />
- <public type="dimen" name="list_item_title_maxwidth" id="0x7f060006" />
- <public type="dimen" name="log_detail_title_height" id="0x7f060007" />
- + <public type="dimen" name="v5_text_font_size_primary" id="0x7f060008" />
- + <public type="dimen" name="v5_text_font_size_list_primary" id="0x7f060009" />
- + <public type="dimen" name="v5_text_font_size_list_secondary" id="0x7f06000a" />
- + <public type="dimen" name="v5_text_font_size_button" id="0x7f06000b" />
- + <public type="dimen" name="v5_list_view_padding_horizontal" id="0x7f06000c" />
- + <public type="dimen" name="v5_list_view_double_line_height" id="0x7f06000d" />
- + <public type="dimen" name="v5_text_font_size_small" id="0x7f06000e" />
- + <public type="dimen" name="v5_list_view_single_line_height" id="0x7f06000f" />
- + <public type="dimen" name="v5_text_font_size_title" id="0x7f060010" />
- + <public type="dimen" name="v5_text_font_size_title_bar_medium" id="0x7f060011" />
- + <public type="dimen" name="v5_text_font_size_title_bar_secondary_medium" id="0x7f060012" />
- + <public type="dimen" name="v5_list_view_treble_line_height" id="0x7f060013" />
- <public type="string" name="app_name" id="0x7f070000" />
- <public type="string" name="firewall_settings_tab_title" id="0x7f070001" />
- <public type="string" name="black_white_list_tab_title" id="0x7f070002" />
- diff --git a/AntiSpam/res/values/styles.xml b/AntiSpam/res/values/styles.xml
- index 5a3c0a4..cf175b7 100644
- --- a/AntiSpam/res/values/styles.xml
- +++ b/AntiSpam/res/values/styles.xml
- @@ -1,14 +1,148 @@
- <?xml version="1.0" encoding="utf-8"?>
- <resources>
- - <style name="ActionBarStyle" parent="@miui:style/V5.Widget.ActionBar">
- + <style name="V5" />
- + <style name="V5.Theme" parent="@android:style/Theme.Holo.Light">
- + <item name="v5_group_item_bg">@drawable/v5_group_item_bg_light</item>
- + <item name="v5_secondary_tab_indicator_bg">@drawable/v5_secondary_tab_indicator_bg_light</item>
- + <item name="v5_secondary_tab_bg">@drawable/v5_secondary_tab_bg_light</item>
- + <item name="v5_list_view_section_item_bg">@drawable/v5_list_view_section_item_bg_light</item>
- + <item name="v5_list_view_item_bg">@drawable/v5_list_view_item_bg_light</item>
- + <item name="v5_top_placeholder_enabled">true</item>
- + <item name="v5_tab_indicator_bg">@drawable/v5_tab_indicator_bg_light</item>
- + <item name="v5_tab_indicator_bg_no_title">@drawable/v5_tab_indicator_bg_no_title_light</item>
- + </style>
- + <style name="V5.Theme.Light" parent="@style/V5.Theme" />
- + <style name="V5.Theme.Light.Settings" parent="@style/V5.Theme.Light" />
- + <style name="V5.Theme.Light.Translucent" parent="@style/V5.Theme.Light">
- + <item name="android:windowBackground">@android:color/transparent</item>
- + <item name="android:windowIsTranslucent">true</item>
- + <item name="android:windowAnimationStyle">@android:style/Animation</item>
- + <item name="android:colorBackgroundCacheHint">@null</item>
- + </style>
- + <style name="V5.Theme.Light.Translucent.NoTitle" parent="@style/V5.Theme.Light.Translucent">
- + <item name="android:windowNoTitle">true</item>
- + <item name="v5_tab_indicator_style">@style/V5.Widget.TabIndicator.NoTitle</item>
- + <item name="v5_top_placeholder_enabled">false</item>
- + </style>
- + <style name="V5.TextAppearance" parent="@android:style/TextAppearance">
- + <item name="android:textSize">@dimen/v5_text_font_size_primary</item>
- + </style>
- + <style name="V5.TextAppearance.Title" parent="@style/V5.TextAppearance">
- + <item name="android:textSize">@dimen/v5_text_font_size_title</item>
- + <item name="android:textStyle">bold</item>
- + <item name="android:textColor">#ffffffff</item>
- + <item name="android:shadowColor">#4d000000</item>
- + <item name="android:shadowDx">0.0</item>
- + <item name="android:shadowDy">5.0</item>
- + <item name="android:shadowRadius">10.0</item>
- + </style>
- + <style name="V5.TextAppearance.Title.Medium" parent="@style/V5.TextAppearance.Title">
- + <item name="android:textSize">@dimen/v5_text_font_size_title_bar_medium</item>
- + </style>
- + <style name="V5.TextAppearance.Title.Medium.Secondary" parent="@style/V5.TextAppearance.Title">
- + <item name="android:textSize">@dimen/v5_text_font_size_title_bar_secondary_medium</item>
- + <item name="android:textStyle">normal</item>
- + </style>
- + <style name="V5.TextAppearance.Small" parent="@android:style/TextAppearance.Small">
- + <item name="android:textSize">@dimen/v5_text_font_size_small</item>
- + </style>
- + <style name="V5.TextAppearance.List" parent="@style/V5.TextAppearance">
- + <item name="android:textSize">@dimen/v5_text_font_size_list_primary</item>
- + <item name="android:textStyle">bold</item>
- + <item name="android:textColor">#e6000000</item>
- + </style>
- + <style name="V5.TextAppearance.List.Primary" parent="@style/V5.TextAppearance.List" />
- + <style name="V5.TextAppearance.List.Secondary" parent="@style/V5.TextAppearance.List">
- + <item name="android:textSize">@dimen/v5_text_font_size_list_secondary</item>
- + <item name="android:textStyle">normal</item>
- + <item name="android:textColor">#80000000</item>
- + <item name="android:shadowColor">#80ffffff</item>
- + <item name="android:shadowDx">0.0</item>
- + <item name="android:shadowDy">1.0</item>
- + <item name="android:shadowRadius">1.0</item>
- + </style>
- + <style name="V5.TextAppearance.SecondaryTabIndicator" parent="@style/V5.TextAppearance">
- + <item name="android:textSize">@dimen/v5_text_font_size_button</item>
- + <item name="android:textColor">#cc000000</item>
- + </style>
- + <style name="V5.Widget" parent="@style/V5" />
- + <style name="V5.Widget.SecondaryTabIndicator" parent="@style/V5.Widget">
- + <item name="android:orientation">horizontal</item>
- + <item name="android:background">?v5_secondary_tab_indicator_bg</item>
- + <item name="android:layout_width">fill_parent</item>
- + <item name="android:layout_height">wrap_content</item>
- + </style>
- + <style name="V5.Widget.TabIndicator" parent="@style/V5.Widget">
- + <item name="android:orientation">horizontal</item>
- + <item name="android:background">?v5_tab_indicator_bg</item>
- + <item name="android:layout_width">fill_parent</item>
- + <item name="android:layout_height">wrap_content</item>
- + </style>
- + <style name="V5.Widget.TabIndicator.NoTitle" parent="@style/V5.Widget.TabIndicator">
- + <item name="android:background">?v5_tab_indicator_bg_no_title</item>
- + </style>
- + <style name="V5.Widget.SecondaryTab" parent="@style/V5.Widget">
- + <item name="android:textAppearance">@style/V5.TextAppearance.SecondaryTabIndicator</item>
- + <item name="android:gravity">center</item>
- + <item name="android:background">?v5_secondary_tab_bg</item>
- + <item name="android:layout_width">0.0dip</item>
- + <item name="android:layout_height">wrap_content</item>
- + <item name="android:shadowColor">#80ffffff</item>
- + <item name="android:shadowDx">0.0</item>
- + <item name="android:shadowDy">2.0</item>
- + <item name="android:shadowRadius">5.0</item>
- + <item name="android:layout_weight">1.0</item>
- + </style>
- + <style name="V5.Widget.ListView" parent="@android:style/Widget.ListView.White">
- + <item name="android:fadingEdge">none</item>
- + <item name="android:listSelector">@android:color/transparent</item>
- + <item name="android:cacheColorHint">@null</item>
- + <item name="android:divider">@null</item>
- + </style>
- + <style name="V5.Widget.ListView.Item" parent="@style/V5.Widget">
- + <item name="android:gravity">left|center</item>
- + <item name="android:background">?v5_list_view_item_bg</item>
- + <item name="android:layout_width">fill_parent</item>
- + </style>
- + <style name="V5.Widget.ListView.Item.SingleLine" parent="@style/V5.Widget.ListView.Item">
- + <item name="android:textAppearance">@style/V5.TextAppearance.List</item>
- + <item name="android:paddingLeft">@dimen/v5_list_view_padding_horizontal</item>
- + <item name="android:paddingRight">@dimen/v5_list_view_padding_horizontal</item>
- + <item name="android:layout_height">@dimen/v5_list_view_single_line_height</item>
- + <item name="android:minHeight">@dimen/v5_list_view_single_line_height</item>
- + <item name="android:singleLine">true</item>
- + </style>
- + <style name="V5.Widget.ListView.Item.DoubleLine" parent="@style/V5.Widget.ListView.Item">
- + <item name="android:textAppearance">@style/V5.TextAppearance.List.Primary</item>
- + <item name="android:paddingLeft">@dimen/v5_list_view_padding_horizontal</item>
- + <item name="android:paddingRight">@dimen/v5_list_view_padding_horizontal</item>
- + <item name="android:layout_height">@dimen/v5_list_view_double_line_height</item>
- + <item name="android:minHeight">@dimen/v5_list_view_double_line_height</item>
- + <item name="android:singleLine">true</item>
- + </style>
- + <style name="V5.Widget.ListView.Item.TrebleLine" parent="@style/V5.Widget.ListView.Item">
- + <item name="android:textAppearance">@style/V5.TextAppearance.List.Primary</item>
- + <item name="android:paddingLeft">@dimen/v5_list_view_padding_horizontal</item>
- + <item name="android:paddingRight">@dimen/v5_list_view_padding_horizontal</item>
- + <item name="android:layout_height">@dimen/v5_list_view_treble_line_height</item>
- + <item name="android:minHeight">@dimen/v5_list_view_treble_line_height</item>
- + <item name="android:singleLine">true</item>
- + </style>
- + <style name="Theme.Light.ActionBar.NoTitle" parent="@android:style/Theme.Light">
- + <item name="android:actionBarStyle">@style/Widget.ActionBar.NoTitle</item>
- + </style>
- + <style name="Widget.ActionBar.NoTitle" parent="@android:style/Widget.ActionBar">
- + <item name="android:displayOptions"></item>
- + </style>
- + <style name="ActionBarStyle" parent="@android:style/Widget.Holo.ActionBar">
- <item name="android:height">@dimen/log_detail_title_height</item>
- <item name="android:displayOptions">showTitle</item>
- </style>
- - <style name="AntiSpam.Theme.Tab" parent="@miui:style/V5.Theme.Light.ActionBar.NoTitle">
- - <item name="miui:v5_action_bar_tab">true</item>
- + <style name="AntiSpam.Theme.Tab" parent="@style/Theme.Light.ActionBar.NoTitle">
- + <item name="v5_action_bar_tab">true</item>
- </style>
- - <style name="AntiSpam.Theme.LogActivity" parent="@miui:style/V5.Theme.Light">
- + <style name="AntiSpam.Theme.LogActivity" parent="@android:style/Theme.Light">
- <item name="android:actionBarStyle">@style/ActionBarStyle</item>
- - <item name="miui:v5_action_bar_title_layout">@layout/fw_title_panel</item>
- + <item name="v5_action_bar_title_layout">@layout/fw_title_panel</item>
- </style>
- </resources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement