兼容版本fix bug 修改图标

This commit is contained in:
limqhz
2020-09-01 00:12:41 +08:00
parent 20c92eeea4
commit d79b1aed42
5 changed files with 13 additions and 3 deletions

View File

@@ -4,6 +4,8 @@ import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.text.TextUtils; import android.text.TextUtils;
import java.util.UUID;
public class SDAppConfig { public class SDAppConfig {
private static SDAppConfig config; private static SDAppConfig config;
@@ -64,6 +66,13 @@ public class SDAppConfig {
spEditor.commit(); spEditor.commit();
} }
public void configSet(Integer spinnerValue, String deviceType) {
this.venueId = spinnerValue;
this.deviceType = deviceType;
this.deviceName = UUID.randomUUID().toString().replace("-", "");
configSet();
}
public Integer getVenueId() { public Integer getVenueId() {
return venueId; return venueId;
} }
@@ -87,4 +96,5 @@ public class SDAppConfig {
public void setDeviceName(String deviceName) { public void setDeviceName(String deviceName) {
this.deviceName = deviceName; this.deviceName = deviceName;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" /> <background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" /> <foreground android:drawable="@drawable/basicprofile" />
</adaptive-icon> </adaptive-icon>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" /> <background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" /> <foreground android:drawable="@drawable/basicprofile" />
</adaptive-icon> </adaptive-icon>

View File

@@ -1,5 +1,5 @@
<resources> <resources>
<string name="app_name">sport-faceid</string> <string name="app_name">sport-qrcode</string>
<string name="top_line_info">扫码下方二维码进场</string> <string name="top_line_info">扫码下方二维码进场</string>
<string name="well_string1">新用户注册</string> <string name="well_string1">新用户注册</string>
<string name="setting">设置</string> <string name="setting">设置</string>