skip to main
|
skip to sidebar
なんか気になる'It'is My Favorite'
気になるペンギンの気なることを書いてます。 プログラムとか、日常とか。
2011年6月8日水曜日
dipについて
http://www.atmarkit.co.jp/fsmart/articles/android_int01/02.html
Androidの画面サイズはスクリーンサイズがまちまちなので、ピクセル指定でなくdip(Density-independent Pixel)で作成する。
換算式は以下の通り
pixel = dips * ( density / 160 )
忘れないように…
新しい投稿
前の投稿
ホーム
登録:
投稿 (Atom)
自己紹介
気になるペンギン
Japan
いろいろ気になることを忘れる前に( ..)φ 英語も忘れないように勉強中 Before forgetting to be interested in various ways. I am studying not to forget the English. (I'm Japanese)
詳細プロフィールを表示
Translate
ブログ アーカイブ
▼
2011
(1)
▼
6月
(1)
dipについて
►
2009
(1)
►
1月
(1)
►
2008
(8)
►
5月
(2)
►
4月
(3)
►
3月
(3)