点击事件没有作用,识别不出点击的区域。
Android小练习——Path绘制不规则图形的点击学习资料: GcsSloop 同学的特殊控件的事件处理方案 1. TaiJiView代码 绘制考虑使用的是Path,通过Region可以通过点的坐标(x,y)来判断是否在Pa...
点击事件没有作用,识别不出点击的区域。
Android小练习——Path绘制不规则图形的点击学习资料: GcsSloop 同学的特殊控件的事件处理方案 1. TaiJiView代码 绘制考虑使用的是Path,通过Region可以通过点的坐标(x,y)来判断是否在Pa...
if (tv.getSelectionStart() == -1 &&tv.getSelectionEnd() == -1)
1、git merge分支名 2、git push origin 3、删除分支git branch -d分支名
1、删除文件 在git命令行环境执行 git rm -r .xxx(文件夹名) --cached ,如果是想删除文件用 git rm .xxx --cached就可以了。 2...
1、下载mysql解压到自己想安装的路径下。 2、把mysql的bin路径配置到系统环境变量中 3、在mysql根目录中添加my.ini配置文件,文件内容如下 [mysql]...
TypedArray mTypedArray = getResources().obtainTypedArray(R.array.images); int imageId=m...
android7.0后文件访问悄悄的改变形式,不能再以file://....的方式访问,而是以共享的方式content://....。 兼容的方式有两种 1、是在Applic...
在RecyclerView外嵌套多一层 RelativeLayout并设置RelativeLayout的descendantFocusability属性blockDescen...
public classCustomGsonConverterFactoryextendsConverter.Factory { private finalMediaType...
包的版本号如下 compile'com.squareup.retrofit2:retrofit:2.3.0' compile'com.squareup.retrofit2:r...