add[主播b账号-消息设置,设置后需支持重置取消]
This commit is contained in:
@@ -71,6 +71,7 @@ public class MessageSayHiNotifyDialog extends AbsDialogCenterPopupWindow {
|
||||
|
||||
@Override
|
||||
public void buildDialog(XPopup.Builder builder) {
|
||||
ToastUtil.show("设置可关闭:"+cancelable);
|
||||
builder.dismissOnTouchOutside(cancelable);
|
||||
builder.dismissOnBackPressed(cancelable);
|
||||
}
|
||||
|
||||
@@ -86,7 +86,6 @@ public class MessageChatNotifyManager {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
ToastUtil.showDebug("Not Message");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ public class MessageSayHiNotifyManager {
|
||||
return;
|
||||
}
|
||||
isCancelDialog = data.isCancelDialog();
|
||||
ToastUtil.show("设置可关闭0:"+isCancelDialog);
|
||||
timer = new Timer();
|
||||
timer.schedule(createTask(), data.getNextTime() * 1000L);
|
||||
hiBean = new MessageSayHiBean();
|
||||
@@ -217,7 +218,6 @@ public class MessageSayHiNotifyManager {
|
||||
}).setCancelable(isCancelDialog)
|
||||
.showDialog();
|
||||
} else {
|
||||
ToastUtil.showDebug("Not Message");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
9
common/src/main/res/drawable/bg_msg_config_btn_clear.xml
Normal file
9
common/src/main/res/drawable/bg_msg_config_btn_clear.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="166dp" android:height="54dp">
|
||||
<shape android:shape="rectangle">
|
||||
<stroke android:width="1dp" android:color="#ffb9b9b9" />
|
||||
<corners android:radius="54dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
9
common/src/main/res/drawable/bg_msg_config_btn_save.xml
Normal file
9
common/src/main/res/drawable/bg_msg_config_btn_save.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="166dp" android:height="54dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffff83c6" android:endColor="#ffeb6fff" android:angle="180" />
|
||||
<corners android:radius="54dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
Reference in New Issue
Block a user