Agn88 ttslot88 改包名 改签名
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.web.agn888new">
|
||||
package="com.web.agn">
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.camera"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.web.agn888new;
|
||||
package com.web.agn;
|
||||
|
||||
|
||||
import android.content.pm.PackageInfo;
|
||||
@@ -18,18 +18,20 @@ public class MainActivity2 extends com.web.base.MainActivity2 {
|
||||
userId = 37;
|
||||
saveInt(MainActivity2.this,"user_code",userId);
|
||||
saveInt(MainActivity2.this,"version_code",getVersion());
|
||||
// com.web.base.MainActivity.saveString(this, "base_url","");
|
||||
//网页的底部NavigationBar颜色
|
||||
com.web.base.MainActivity.saveString(this, "style_color", "#1250a1");
|
||||
//页面的大背景颜色
|
||||
com.web.base.MainActivity.saveString(this, "windows_color", "#ffc608");
|
||||
//任务栏的文字颜色 0 黑 1白 默认黑
|
||||
saveInt(MainActivity2.this,"is_white",1);
|
||||
super.onCreate(savedInstanceState);
|
||||
//用于修改大背景渐变色 不设置 大背景就是 windows_color 的颜色
|
||||
setBackDrawables(R.drawable.big_bg);
|
||||
setImageView(false);
|
||||
//订阅主题
|
||||
FirebaseMessaging.getInstance().subscribeToTopic("demo")
|
||||
.addOnCompleteListener(new OnCompleteListener<Void>() {
|
||||
@Override
|
||||
public void onComplete(@NonNull Task<Void> task) {
|
||||
String msg = "Subscribed";
|
||||
if (!task.isSuccessful()) {
|
||||
msg = "Subscribe failed";
|
||||
}
|
||||
|
||||
}
|
||||
.addOnCompleteListener(task -> {
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.web.agn888new;
|
||||
package com.web.agn;
|
||||
|
||||
import android.app.NotificationChannel;
|
||||
import android.app.NotificationManager;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.web.agn888new;
|
||||
package com.web.agn;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
8
agn888new/src/main/res/drawable/big_bg.xml
Normal file
8
agn888new/src/main/res/drawable/big_bg.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="#ffc608"
|
||||
android:endColor="#ffc608"/>
|
||||
</shape>
|
||||
Reference in New Issue
Block a user