![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
香自寒来
梅花香自苦寒来
展开
-
android提示框
方法一在布局文件定义点击事件 <Button android:onClick="login" android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content"...原创 2018-11-26 17:14:40 · 2242 阅读 · 0 评论 -
Android各种对话框
各代码作用,结合代码,图片应该很好理解一:确定对话框 public void yes_one(View view) { new AlertDialog.Builder(this) .setTitle("温馨提示一" ) .setMessage("晚上好" ) .setP...原创 2018-11-29 22:19:33 · 1212 阅读 · 0 评论 -
Android侧边栏Menu
activity_main /* 侧边栏 */ <android.support.design.widget.NavigationView android:id="@+id/navi" android:layout_width="wrap_content" android:layout_height="...原创 2018-12-15 21:54:29 · 704 阅读 · 0 评论