社区相关UI更改
This commit is contained in:
@ -880,6 +880,7 @@ public class DialogUtils {
|
||||
final Dialog dialog = new Dialog(context, R.style.GhAlertDialog);
|
||||
|
||||
View contentView = LayoutInflater.from(context).inflate(R.layout.dialog_community, null);
|
||||
View contentContainer = contentView.findViewById(R.id.content_container);
|
||||
TextView titleTv = contentView.findViewById(R.id.title);
|
||||
TextView contentTitleTv = contentView.findViewById(R.id.content_title);
|
||||
TextView contentDesTv = contentView.findViewById(R.id.content_des);
|
||||
@ -918,6 +919,12 @@ public class DialogUtils {
|
||||
// dialog.dismiss();
|
||||
});
|
||||
|
||||
contentContainer.setOnClickListener(v -> {
|
||||
if (cmListener != null) {
|
||||
cmListener.onConfirm();
|
||||
}
|
||||
});
|
||||
|
||||
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
dialog.setContentView(contentView);
|
||||
dialog.show();
|
||||
|
||||
Reference in New Issue
Block a user