AndroidNote
AndroidNote copied to clipboard
安卓学习笔记
作为一个很懒的程序猿,为你的开发工具选择一个合适的插件将会让你开发事半功倍。 | 序号 | 插件 | 简介 | | --- | --- | --- | | 01 | [ButterKnifeZelezny](https://github.com/avast/android-butterknife-zelezny) | 配合ButterKnife使用的插件,自动生成ButterKnife相关代码 | | 02 | [idea-markdown](https://github.com/nicoulaj/idea-markdown) | MarkDown插件 | |...
我测试后得出的结论不一定对不 但是感觉看完你的我还是有点迷糊 所以就想补充下呢~ PointCount的含义 src : The array of src [x,y] pairs (points) srcIndex : Index of the first pair of src values(既 第一个点在src的那个位置) dst : The array of dst...
## 产生原因 SDK BuildTool版本有问题,可能为不存在或者不完全。 ## 解决方案 更改build.gradle中android节点下buildToolsVersion 中的版本号。
错误:升级AndroidStudio时引起的错误。 解决方案: 1) File -> Invalidate caches / Restart (清除缓存) 2) Shutdown Android Studio (关闭AndroidStudio) 3) Remove .gradle folder in the user home directory (移除工作空间.gradle文件夹) 4) Restart Android Studio let...
用isShown()这个函数判断View是否显示比使用view.getVisibility() == View.VISIBLE要好。 isShown()会层层判断父View的状态设置, view.getVisibility() == View.VISIBLE只会判断view当前的状态设置。
## 默认显示或隐藏内容 Setting -> Editing -> Code Folding 勾选表示默认不显示,不勾选表示默认显示。 
rawable用于标记一个可绘制对象 待续。
Maven 下载地址: http://maven.apache.org mvn compile //编译 mvn package //打包
将应用版本号等其他相关信息发送给服务器,服务器进行判断,如果符合升级的标准则返回升级链接 优点: 判断逻辑不在客户端,可以根据需求进行对特定用户进行升级。 例如只升级某一种机型,或只对某一个地区手机进行升级。
# 安卓中的tools标签 可以在预览中添加册数数据使用,如TextView的Text属性,把前面的android换位tools之后,仅在预览中能看到text,不会影响实际运行。