Dialog dialog = new AlertDialog.Builder(Activity01.this)
.setTitle("Login hint")
.setMessage("Here needs your login!")
.setPositiveButton(...)
.setNeutralButton(...
).create();
它是什么样的语法?我不明白为什么那些点是一个接一个?是create()
forBuilder()
还是 for setNeutralButton()
?
谢谢!