摘要: public void showDiag2(View v){ AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle("登录"); final String[] strings = {"1","2", 阅读全文
posted @ 2019-04-03 16:47 雪隐lys 阅读(133) 评论(0) 推荐(0)
摘要: (一) Menu 1. App bar with options menu 2. Context menu 3. Contextual action bar 4. Popup menu 1. App bar with options menu(选项菜单) 1.1通过在XML文件中添加控件来实现 re 阅读全文
posted @ 2019-04-03 16:45 雪隐lys 阅读(285) 评论(0) 推荐(0)
摘要: ArrayAdapter(数组适配器) ArrayAdapter只能显示一行文本数据 参数说明 : 1. context上下文对象 2. 每一个item的样式,(可使用系统提供,也可自定义) 系统提供的样式如下 simple_list_item1:单独的一行文本框 simple_list_item2 阅读全文
posted @ 2019-04-03 16:23 雪隐lys 阅读(311) 评论(0) 推荐(0)