- 手机内部存储路径
- EditText设置不可编辑,比focusable、enable更粗暴
- item的水波纹效果,在item的View加上这一属性, 5.0+才行
- 去除TextView上下的padding
- viewpager底层拦截了点击事件,所以点击事件写在adapter里面
- EditText修改软键盘的回车键
- ImageView去除缺少描述的警告
- 使用tools属性工具预览布局
- 给App增加更大的内存,AndroidManifest的Application 节点
- 自带判空util
- 验证用户输入
- 获取缓存数据文件夹的路径
- 用来进行区域格式化工作,输出格式化和本地化的时间或者日期
- 在Text上添加链接。很实用
- 在创建 Fragment 之前设置参数
- 这个会比全局的 broadcast 更加安全,简单,快速
- 顾名思义,这是对数字进行格式化操作的时候用的
- 管理Activity的生命周期
- 强制让 Activity 重建
- Map的高效优化版本
- 判断view是否显示
- 模拟点击
- 监听EditText输入
- activity 竖屏
- 适配带有输入框的页面
- 设置LinearLayout中的权重总数
- ScrollView设置全屏
- 延时操作
- 倒计时
- 更新UI,延时操作
- 返回 "几天前"/"xx days ago" 格式的字符串,自带翻译
- webview判断是否可返回
- 处理Recyclerview数据流
- 代替setBackgroundDrawable()
- 代替getDrawable(int)
- 代替getColor(int)
- 解决TabLayout默认英文大写
- 解决Button默认英文大写
- 去掉TextView内部padding
- 提高开发效率
- 提高开发效率
- 提高开发效率
欢迎补充
License
Copyright 2018 yechaoa
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.