摘要: 1.添加Toast 如果当前名字和密码为空就报Toast //1.判断姓名, 密码是否为空 EditText nameEdt = findViewById(R.id.name); EditText pwdEdt = findViewById(R.id.pwd); ProgressBar proBar 阅读全文
posted @ 2021-03-12 01:34 python我的最爱 阅读(60) 评论(0) 推荐(0) 编辑
摘要: ProgressBar的基本属性 android:style设置进度条的样式 progressBarStyleHorizontal(水平进度条) android:progress = "" 设置进度 android:max = "" 设置最大值,默认100 android:indeterminate 阅读全文
posted @ 2021-03-12 00:56 python我的最爱 阅读(727) 评论(0) 推荐(0) 编辑
摘要: ImageView主要包含两个属性 android:src: 前景设置 android:backgroud:背景设置 <ImageView android:layout_width="60dp" android:layout_height="60dp" android:src="@mipmap/ad 阅读全文
posted @ 2021-03-12 00:11 python我的最爱 阅读(139) 评论(0) 推荐(0) 编辑