摘要:
一:AlertDialogAlertDialog的构造方法全部是Protected的,所以不能直接通过new一个AlertDialog来创建出一个AlertDialog。要创建一个AlertDialog,就要用到AlertDialog.Builder中的create()方法。AlertDialog.... 阅读全文
摘要:
一:编辑框在res文件夹下的layout的文件夹的xml文件 这样在xml中我们就声明了两个控件,一个EditText和一个TextView 并且我们将为EditText控件添加事件监听setOnKeyListener,并实现了onKey方法--在这个项目中也... 阅读全文