摘要: getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);//设置全屏显示 Button button = findViewById(R.i 阅读全文
posted @ 2021-09-03 18:05 zxcl 阅读(97) 评论(0) 推荐(0)
摘要: Text文本框 EditText编辑框 文本框的子类 常用属性 hint:提示信息 inputType:输入格式 textPassword number lines:编辑行数 (确定之后超过换行) 通过编辑框对象.getText获取文本 ImageView scaleType: fitXY 填充XY 阅读全文
posted @ 2021-09-03 18:04 zxcl 阅读(46) 评论(0) 推荐(0)
摘要: 版权声明:本文为CSDN博主「花熊」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/hgy413/article/details/82811882 指示LinearLayout中多少额外空间分配给与这些Layou 阅读全文
posted @ 2021-09-03 11:01 zxcl 阅读(421) 评论(0) 推荐(0)
摘要: sunshine199110 2021-05-20 16:46:27 196 收藏版权网上找了好多文档,都没有找到AndroidStudio目录,最后在官网找到了。找到C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudio4.1,删除An 阅读全文
posted @ 2021-09-03 10:13 zxcl 阅读(536) 评论(0) 推荐(0)
摘要: LinearLayout ~主要属性 orientation 方向 android:orientation="vertical" android:gravity="center_horizontal|bottom" android:layout_weight="1" // 剩余空间分配占比,用wei 阅读全文
posted @ 2021-09-02 21:15 zxcl 阅读(66) 评论(0) 推荐(0)
摘要: res 物件 .app\res\drawable: 位图文件 or 9 Patch文件 or Drawable对象等XML资源文件 .app\res\layout 布局文件 .app\res\mipmap 需要适应分辨率的文件放置处 m<h<xh<xxh<xxxh 拷贝图片直接放mipmap文件夹C 阅读全文
posted @ 2021-09-02 21:00 zxcl 阅读(80) 评论(0) 推荐(0)
摘要: /*1.提高程序的安全性,保护数据2.隐藏代码的实现细节3.统一接口4.系统可维护性增加了 */ // Student s1 = new Student();//IDEA自动补全返回值快捷键 : Ctrl+Alt+V// s1.setName("终于知道");// System.out.printl 阅读全文
posted @ 2021-04-19 17:53 zxcl 阅读(282) 评论(0) 推荐(0)