Ducomet, Bernard; Ne?asová, ?árka; Vasseur, Alexis. On global motions of a compressible barotropic and selfgravitating gas with density-dependent visc ...
分类:
其他好文 时间:
2016-08-11 09:46:09
阅读次数:
88
一、基本概念 dip : Density independent pixels ,设备无关像素。 dp :就是dip px : 像素 dpi :dots per inch , 直接来说就是一英寸多少个像素点。常见取值 120,160,240。我一般称作像素密度,简称密度 density : 直接翻译 ...
分类:
其他好文 时间:
2016-08-03 18:16:44
阅读次数:
213
1. 程序启动图标(icon launcher) 放在mipmap-*dpi下,文件名为ic_launcher.png LDPI (Low Density Screen,120 DPI),其图标大小为 36 x 36 px。 MDPI (Medium Density Screen, 160 DPI) ...
分类:
移动开发 时间:
2016-07-28 15:35:00
阅读次数:
319
原文:Android中dp和px之间进行转换 官方文档:http://developer.android.com/guide/practices/screens_support.html The density-independent pixel is equivalent to one physi ...
分类:
移动开发 时间:
2016-07-16 00:03:36
阅读次数:
260
原文:http://www.cnblogs.com/yaozhongxiao/archive/2014/07/14/3842908.html 一、基本概念 dip : Density independent pixels ,设备无关像素。 dp :就是dip px : 像素 dpi :dots pe ...
分类:
其他好文 时间:
2016-07-06 18:00:25
阅读次数:
199
一、一些基本概念
1、长度(真实长度):英寸、inch
2、分辨率:density 每英寸像素数 dpi(密度)
3、像素:px
4、dip的公式:px /dip=dpi/160 所以 dip 类似于英寸、长度(dp=dip,sp类似于dip) dip=160*inch
dip= 160/dpi * px
当dip一定时,dpi 越大,px就越大
5、广义分辨率=长px*宽px...
分类:
移动开发 时间:
2016-06-24 15:13:37
阅读次数:
225
Let $A=\{a_1<a_2<\cdots<a_n<\cdots\}\subset N$ be a integer sequence. The upper exponential density of it is defined by $$\overline{\varepsilon}(A)=\l ...
分类:
其他好文 时间:
2016-06-21 20:32:26
阅读次数:
93
几乎每个app都会用到屏幕相关的属性,所以我在这将常用的属性封装成了工具类 首先新建一个工具类(ScreenUtils) 1.获取屏幕宽高: 2.屏幕density(密度) ...
分类:
移动开发 时间:
2016-06-19 12:58:04
阅读次数:
389
这里收集了大家常用的一些Android代码,持续更新中,内容来自自己的平时积累和网络上看到的文章,部分原文地址在最下方。如有错误欢迎指正里面可能会有重复内容,请忽略或者提醒我删除。
setBackgroundResource(0) 可以移除 View 的背景色
Resources.getSystem().getDisplayMetrics().density 可以不用 Cont...
分类:
移动开发 时间:
2016-06-14 17:49:43
阅读次数:
569
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/38965311,本文出自【张鸿洋的博客】
1、LogUtil
package com.example.androidutils;
import android.util.Log;
/**
* Log统一管理类
*
*
*
*/
publ...
分类:
移动开发 时间:
2016-05-30 14:43:28
阅读次数:
192