兼容版本fix bug 修改图标
This commit is contained in:
@@ -4,6 +4,8 @@ import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public class SDAppConfig {
|
||||
|
||||
private static SDAppConfig config;
|
||||
@@ -64,6 +66,13 @@ public class SDAppConfig {
|
||||
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() {
|
||||
return venueId;
|
||||
}
|
||||
@@ -87,4 +96,5 @@ public class SDAppConfig {
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BIN
app/src/main/res/drawable-v24/basicprofile.png
Normal file
BIN
app/src/main/res/drawable-v24/basicprofile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<foreground android:drawable="@drawable/basicprofile" />
|
||||
</adaptive-icon>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<foreground android:drawable="@drawable/basicprofile" />
|
||||
</adaptive-icon>
|
||||
@@ -1,5 +1,5 @@
|
||||
<resources>
|
||||
<string name="app_name">sport-faceid</string>
|
||||
<string name="app_name">sport-qrcode</string>
|
||||
<string name="top_line_info">扫码下方二维码进场</string>
|
||||
<string name="well_string1">新用户注册</string>
|
||||
<string name="setting">设置</string>
|
||||
|
||||
Reference in New Issue
Block a user