1、提取xml的字符串和部分java文件的字符串到strings.xml
2、提取color到colors.xml
This commit is contained in:
@ -330,14 +330,14 @@ public class DialogUtils {
|
||||
|
||||
View view = View.inflate(context, R.layout.common_hintdialog, null);
|
||||
|
||||
TextView hintdialog_title = (TextView) view.findViewById(R.id.hintdialog_title);
|
||||
TextView hintdialog_title = (TextView) view.findViewById(R.id.tv_dialog_hint_title);
|
||||
hintdialog_title.setText(title);
|
||||
|
||||
// 内容
|
||||
TextView hintdialog_content = (TextView) view.findViewById(R.id.hintdialog_content);
|
||||
TextView hintdialog_content = (TextView) view.findViewById(R.id.tv_dialog_hint_content);
|
||||
hintdialog_content.setText(msg);
|
||||
|
||||
TextView hintdialog_confirm = (TextView) view.findViewById(R.id.hintdialog_confirm);
|
||||
TextView hintdialog_confirm = (TextView) view.findViewById(R.id.tv_dialog_hint_confirm);
|
||||
|
||||
hintdialog_confirm.setText(confirm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user