javanew(弹窗对象,"android.app.AlertDialog$Builder", "android.content.Context", activity)
//标题
java(null,弹窗对象,"android.app.AlertDialog$Builder.setTitle","CharSequence","标题")
//内容
java(null, 弹窗对象,"android.app.AlertDialog$Builder.setMessage","CharSequence","内容")
cls("android.content.DialogInterface$OnClickListener", 事件类)
//按钮事件
javacb(事件, 事件类)
{
}
javacb(事件2, 事件类)
{
}
javacb(事件3, 事件类)
{
}
//按钮文字
javax(null, 弹窗对象, "android.app.AlertDialog$Builder", "setPositiveButton", "CharSequence","按钮1", 事件类, 事件)
javax(null, 弹窗对象, "android.app.AlertDialog$Builder", "setNegativeButton", "CharSequence","按钮2", 事件类, 事件2)
javax(null, 弹窗对象, "android.app.AlertDialog$Builder", "setNeutralButton", "CharSequence","按钮3", 事件类, 事件3)
//点外部是否能关闭
java(null, 弹窗对象,"android.app.AlertDialog$Builder.setCancelable", "boolean",true)
java(弹窗对象,弹窗对象,"android.app.AlertDialog$Builder.create")
java(null,弹窗对象,"android.app.Dialog.show")
java(win,弹窗对象,"android.app.Dialog.getWindow")
java(don,win,"android.view.Window.getDecorView")
//按钮颜色
javags(标识,null,"android.content.DialogInterface","BUTTON_POSITIVE")
javax(按钮1, 弹窗对象,"android.app.AlertDialog","getButton", "int", 标识)
javags(标识,null,"android.content.DialogInterface","BUTTON_NEGATIVE")
javax(按钮2, 弹窗对象,"android.app.AlertDialog","getButton", "int", 标识)
javags(标识,null,"android.content.DialogInterface","BUTTON_NEUTRAL")
javax(按钮3, 弹窗对象,"android.app.AlertDialog","getButton", "int", 标识)
us(按钮1,"textcolor","#2196F3")
us(按钮2,"textcolor","#2196F3")
us(按钮3,"textcolor","#2196F3")
//消息颜色
javags(对话框,弹窗对象,"android.app.AlertDialog","mAlert")
javags(消息,对话框,"com.android.internal.app.AlertController","mMessageView")
us(消息,"textcolor","#000000")
//标题颜色
javags(对话框,弹窗对象,"android.app.AlertDialog","mAlert")
javags(标题,对话框,"com.android.internal.app.AlertController","mTitleView")
us(标题,"textcolor","#000000")