diff --git a/VirtualApp/app/src/main/java/io/virtualapp/home/HomeActivity.java b/VirtualApp/app/src/main/java/io/virtualapp/home/HomeActivity.java
index 728ec174a..5ce4c5158 100644
--- a/VirtualApp/app/src/main/java/io/virtualapp/home/HomeActivity.java
+++ b/VirtualApp/app/src/main/java/io/virtualapp/home/HomeActivity.java
@@ -5,6 +5,7 @@
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
+import android.content.SharedPreferences;
import android.graphics.Canvas;
import android.graphics.Color;
import android.os.Bundle;
@@ -13,6 +14,7 @@
import android.os.Process;
import android.os.RemoteException;
import android.os.SystemClock;
+import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.OrientationHelper;
@@ -126,6 +128,24 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
new HomePresenterImpl(this).start();
VirtualCore.get().registerObserver(mPackageObserver);
alertForMeizu();
+ mUiHandler.postDelayed(() -> {
+ final String alertForIcon = "showIconAlert";
+ SharedPreferences defaultSp = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
+ boolean show = defaultSp.getBoolean(alertForIcon, true);
+ defaultSp.edit().putBoolean(alertForIcon, false).apply();
+ if (show) {
+ AlertDialog alertDialog = new AlertDialog.Builder(this, R.style.Theme_AppCompat_DayNight_Dialog_Alert)
+ .setTitle(R.string.about_icon_title)
+ .setMessage(R.string.about_icon_content)
+ .setPositiveButton(R.string.about_icon_yes, null)
+ .create();
+ try {
+ alertDialog.show();
+ } catch (Throwable ignored) {
+ // BadTokenException.
+ }
+ }
+ }, 5000);
}
@Override
diff --git a/VirtualApp/app/src/main/res/values-zh-rCN/strings.xml b/VirtualApp/app/src/main/res/values-zh-rCN/strings.xml
index 9b808178f..fd3cedc64 100644
--- a/VirtualApp/app/src/main/res/values-zh-rCN/strings.xml
+++ b/VirtualApp/app/src/main/res/values-zh-rCN/strings.xml
@@ -47,4 +47,7 @@
去支付宝捐赠
先不了哈,加油~
安装大型APP可能需要花费较长的时间,请耐心等待~
+ 关于图标
+ 如果你不喜欢这个图标,赶紧为VAExposed设计一个吧!哈哈哈哈哈,我知道你们这些设计师肯定会看不下去的,啊哈哈哈
+ 。。。。
diff --git a/VirtualApp/app/src/main/res/values/strings.xml b/VirtualApp/app/src/main/res/values/strings.xml
index 091e20614..d17aa2f2e 100644
--- a/VirtualApp/app/src/main/res/values/strings.xml
+++ b/VirtualApp/app/src/main/res/values/strings.xml
@@ -51,5 +51,8 @@
Donate
Cancel
Installation time may take a while, please be patient :)
+ About Icon
+ If you do not like my new icon, welcome to design a new icon for VAExposed
+ OK