Commit 62790a9f authored by 周文华's avatar 周文华

【新增】新增dialog弹窗样式与文案

parent a3d94b8d
...@@ -94,6 +94,7 @@ object GlobalConfig { ...@@ -94,6 +94,7 @@ object GlobalConfig {
const val KEY_GOOGLE_ADVERTISER_ID = "key_google_advertiser_id" const val KEY_GOOGLE_ADVERTISER_ID = "key_google_advertiser_id"
const val KEY_DEVICE_NAME = "key_device_name" const val KEY_DEVICE_NAME = "key_device_name"
const val KEY_REFERRER = "referrer" const val KEY_REFERRER = "referrer"
const val KEY_MALWARE_SCAN = "malware_scan_agree"
const val ID_CLEAN_JUNK = 12000 const val ID_CLEAN_JUNK = 12000
const val ID_WHATSAPP = 12010 const val ID_WHATSAPP = 12010
...@@ -121,4 +122,8 @@ object GlobalConfig { ...@@ -121,4 +122,8 @@ object GlobalConfig {
inline var isInit inline var isInit
get() = SPUtils.getInstance().getBoolean(KEY_INIT) get() = SPUtils.getInstance().getBoolean(KEY_INIT)
set(value) = SPUtils.getInstance().putBoolean(KEY_INIT, value) set(value) = SPUtils.getInstance().putBoolean(KEY_INIT, value)
inline var isMalwareAgree
get() = SPUtils.getInstance().getBoolean(KEY_MALWARE_SCAN)
set(value) = SPUtils.getInstance().putBoolean(KEY_MALWARE_SCAN, value)
} }
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#5ac8ff"
android:endColor="#0578fc"
android:angle="0"
android:centerX="0.5"
android:centerY="0.5" />
<corners android:radius="53dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#86bffd"
android:endColor="#aae1ff"
android:angle="0"
android:centerX="0.5"
android:centerY="0.5" />
<corners android:radius="53dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" />
<corners android:radius="24dp" />
</shape>
\ No newline at end of file
This diff is collapsed.
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
<string name="powered_by_trustlook">Powered by Trustlook</string> <string name="powered_by_trustlook">Powered by Trustlook</string>
<string name="scanning">Scanning…</string> <string name="scanning">Scanning…</string>
<string name="malware_recommended">It is recommended to turn on the network connection for more accurate results</string> <string name="malware_recommended">It is recommended to turn on the network connection for more accurate results</string>
<string name="kind_tips">Kind Tips</string>
<string name="trustlook_privacy_policy">https://www.trustlook.com/privacy-policy</string>
<string name="no_network_try_again">No network, try again connect to network</string>
<string name="notification_malware_1">Your device may be at risk. Tap to scan and stay safe.</string> <string name="notification_malware_1">Your device may be at risk. Tap to scan and stay safe.</string>
<string name="notification_malware_2">Your device might be at risk. Tap to scan and secure it now.</string> <string name="notification_malware_2">Your device might be at risk. Tap to scan and secure it now.</string>
<string name="notification_malware_3">Your device may have potential threats. Tap to scan and eliminate them.</string> <string name="notification_malware_3">Your device may have potential threats. Tap to scan and eliminate them.</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment