设置页面修改

This commit is contained in:
18401019693
2022-10-21 18:28:50 +08:00
parent e0a398a9fd
commit 5f27031620
14 changed files with 682 additions and 31 deletions

View File

@@ -32,6 +32,15 @@ public class IMLoginManager extends BaseCacheManager {
private final static String IS_CHAT = "isChat";
private final static String IS_SLIDE = "isSlide";
private final static String IS_FLOAT = "is_float";
private final static String IS_HINT = "is_hint";
public boolean isHint() {
return TextUtils.equals("1", getString(IS_HINT)) || TextUtils.isEmpty(getString(IS_HINT));
}
public void initISHint(String isHint) {
put(IS_HINT, isHint);
}
/**
* 存储是否打开悬浮窗权限提示
@@ -43,7 +52,6 @@ public class IMLoginManager extends BaseCacheManager {
}
/**
*
* @return
*/
public boolean isFloat() {

View File

@@ -28,6 +28,7 @@ public class RouteUtil {
public static final String PATH_MAIN = "/main/MainActivity";
public static final String PATH_ENTRY = "/main/EntryActivity";
public static final String PATH_LIVE_AUDIENCE = "/live/LiveAudienceActivity";
public static final String PATH_SETTING = "/main/SettingActivity";
/**
* 启动页
@@ -113,7 +114,13 @@ public class RouteUtil {
ARouter.getInstance().build(PATH_EDITPROFILE)
.navigation();
}
/**
* 修改个人资料
*/
public static void forwardSettingActivity() {
ARouter.getInstance().build(PATH_SETTING)
.navigation();
}
/**
* 打开直播页面
*/

View File

@@ -57,7 +57,7 @@
<ImageView
android:id="@+id/special_mount_switch"
android:layout_width="40.8dp"
android:layout_width="37dp"
android:layout_height="24.8dp"
android:layout_gravity="end|center_vertical"
android:src="@mipmap/special_icon_off" />

View File

@@ -921,4 +921,7 @@ Limited ride And limited avatar frame</string>
<string name="system_window">ALL Minimize Play</string>
<string name="system_window_hint">Show on other apps and pages \n Need to open the display</string>
<string name="to_open_the">Go to open</string>
<string name="do_you_like">Don\'t like the small window play?\n You can turn it off in [Personal Center] - [Settings]</string>
<string name="to_set_up">Go to Settings</string>
<string name="know_the">Got it</string>
</resources>

View File

@@ -933,4 +933,14 @@
<string name="system_window">APP全應用小窗播放</string>
<string name="system_window_hint">在其他應用上及所有界面显示小窗\n需打開懸浮窗權限。</string>
<string name="to_open_the">前往打開</string>
<string name="do_you_like">不喜歡小窗播放吗?\n 可以在「個人中心」-「設定」中關閉</string>
<string name="to_set_up">去設置</string>
<string name="know_the">知道了</string>
<string name="individual_set">個人設定</string>
<string name="reward">獎勵</string>
<string name="change_the_password">修改密碼</string>
<string name="blacklist">黑名单</string>
<string name="alerts">消息通知</string>
<string name="studio_gift_effects">屏蔽直播間禮物特效</string>
<string name="studio_ride_effects">屏蔽直播間座駕特效</string>
</resources>