Android
KeeySir
严厉打击不做学习笔记的程序员
展开
-
Android-拍照上传图片
Android手机拍照获取图片资源的处理,Android 7之后发生了一些变化,以下是个人将拍照上传流程进行整理 第一步:配置mainfest, 添加provider(在application标签内) <provider android:name="android.support.v4.content.FileProvider" android:authorities=...原创 2018-11-22 12:03:03 · 861 阅读 · 0 评论 -
EditText多行输入
<EditText android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:layout_marginLeft=...转载 2018-11-22 12:02:45 · 558 阅读 · 0 评论 -
Android篇-更改shape背景颜色
写数字安全密码的时候,用到了shape,画了一个白色圆点,在点击数字键盘时,改变对应圆点背景为选中色 1、shape文件 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <!-- 边缘...原创 2018-11-22 12:02:14 · 2949 阅读 · 0 评论