04 2017 档案

Android开发中dp、dpi、px的区别(转)
摘要:一、基本概念 - dp:安卓中的相对大小 - dpi:(dot per inch)每英寸像素多少 - px:像素点 二、详细说明 1、px和dpi - px: 平常所说的1920×1080只是像素数量,也就是1920px×1080px,代表手机高度上有1920个像素点,宽度上有1080个像素点。 - 阅读全文

posted @ 2017-04-29 08:57 乐学习 阅读(60023) 评论(1) 推荐(3) 编辑

一个android好博客
摘要:http://blog.csdn.net/eastmount http://lishuaishuai.iteye.com/ 二维码:http://www.cnblogs.com/liuan/category/347622.html http://itbbu.com/ 阅读全文

posted @ 2017-04-28 15:28 乐学习 阅读(154) 评论(0) 推荐(0) 编辑

15 个 Android 通用流行框架大全
摘要:https://www.oschina.net/news/73836/15-android-general-popular-frameworks 阅读全文

posted @ 2017-04-28 14:55 乐学习 阅读(142) 评论(0) 推荐(0) 编辑

android将drawable下的图片转换成bitmap
摘要:将drawable下的图片转换成bitmap 1、 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.xxx); 2、Resources r = this.getContext().getResources 阅读全文

posted @ 2017-04-11 10:07 乐学习 阅读(824) 评论(0) 推荐(0) 编辑

android横屏布局文件设置
摘要:一、AndroidManifest.xml配置 1、在AndroidManifest.xml的activity(需要禁止转向的activity)配置中加入 android:screenOrientation=”landscape”属性即可(landscape是横向,portrait是纵向) 到这里, 阅读全文

posted @ 2017-04-10 09:44 乐学习 阅读(13535) 评论(0) 推荐(0) 编辑

Android 之 Matrix(转)
摘要:原文:http://www.cnblogs.com/qiengo/archive/2012/06/30/2570874.html#code Android Matrix Matrix的数学原理 平移变换 旋转变换 缩放变换 错切变换 对称变换 代码验证 Matrix的数学原理 在Android中,如 阅读全文

posted @ 2017-04-07 11:34 乐学习 阅读(212) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

点击右上角即可分享
微信分享提示