常用知识点
RylynnKang
这个作者很懒,什么都没留下…
展开
-
获取手机中sdCard的权限
在AndroidManifest.xml中进行配置原创 2017-10-19 20:04:45 · 1400 阅读 · 0 评论 -
Integer.MIN_VALUE和Integer.MAX_VALUE
Integer.MIN_VALUE,即-2147483648,二进制位如下: 1000 0000 0000 0000 0000 0000 0000 0000 在计算机的运算中,“-”(前缀)运算表示各二制位取反再加1,也就是说 b = -a 在计算机内部是 b = ~a + 1 这样处理的,所以上面的位就变成了: 1000 0000原创 2017-10-14 14:51:10 · 25679 阅读 · 0 评论 -
Android 中 clipChildren 属性的用法
实现上图的布局方式代码<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_heigh原创 2017-10-25 20:32:35 · 191 阅读 · 0 评论