Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Android App 設計基礎
Search
Cloud Chen
June 18, 2014
Programming
200
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android App 設計基礎
講述一些在設計 Android App 常常會遇到的問題
Cloud Chen
June 18, 2014
Other Decks in Programming
See All in Programming
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
The Rails Doctrine Decade
koic
2
590
phperだってパンチカードでコーディングしたい
o0h
PRO
0
340
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
golang-bob.pdf
iwatsukayura
0
130
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
JIS keyboard support in Omarchy
lef237
0
120
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
720
ラッコキーワード サービス紹介資料
rakko
1
5.3M
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Music & Morning Musume
bryan
48
7.4k
A better future with KSS
kneath
240
18k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Code Reviewing Like a Champion
maltzj
529
40k
How GitHub (no longer) Works
holman
316
150k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Transcript
Android Design Guide Basic
ҝԿ㟬ඞਢೝ᮫ࣝԙ Android Design తҰࠣ૬᮫ࣝʁ (have to know)
Image Credit: Which? Tech Daily
• ᩋ Art ࡞ଞ၇ݪຊब֘၏త࡞ • ᩋ䓟తઃܭᢛ Android తੜଶߋܖ߹ (Design for
Android) • ᩋ٬㖽ᢛ PM ෆ။Ұ䬘㟬ௐ UI • ᩋ Everyone తෛ፦᫊Ұᴍʂ
᮫ԙଟղੳࢧԉ
૬৴㟬ҰఆՄೳ䉰աҎԼڥɿ ྃٱɼऴԙ፤౸٬㖽҃ੋඒज़ఏڙత൛໘ᒬࣜɼई ੇҝɿ • 640 x 960 (px) • 640
x 1136 (px) વޙब...
None
߈ఔࢣҝԿౖࣕʁ • ؟ᓫతఔࢣෆᚙݱɼൺྫࠜຊෆූʂʢʮब์େ बྃ㠷ʂʯṜछෆෛతࠜຊੋ…ʣ • 640 x 960 — 2
: 3 • 640 x 1136 — 40 : 71! • ࡏ Android ଟईੇᢛଟᦊນղੳతੜଶԼɼҎ pixel ҝᄸҐతࢥҡࠜຊੋഋ۩൵ܶʂ
720px 1280px 5” 1080px 1920px 5”
1920px 5” 1080px 5” ~ 4.35” 2.45”
1920px 1080px 5” ~ 4.35” 2.45” 1280px 720px 2.45” 4.35”
720 ~0.086 mm/px — 1080 ~0.058 mm/px — 1280 — ~0.086 mm/px 1920 — ~0.058 mm/px Ҏ px ҝᄸҐိઃܭ൛໘။۰౸త
ݻఆత pxɼࡏݻఆᦊນईੇతஔԼɼ֘ ஔత Point Density ӽߴɼଇࢹ᧷্ӽখ
ಹ֘ዎኄ㭎ʁ ༌ٿոզ㡎ʁ
Density-independent pixel dp / dip
pixel dp screen density ldpi 0.75 1 ~120 mdpi 1
1 ~160 hdpi 1.5 1 ~240 xhpdi 2 1 ~320 xxhdpi 3 1 ~480 xxxhdpi 4 1 ~640dpi
࠾༻ dip త֯ஔᢛઃܭ
1920px 1080px 5” ~ 4.35” 2.45” 1280px 720px 2.45” 4.35”
720 294 dip — 1080 441 dip — 1280 — 294 dip 1920 — 441 dip ܭࢉஔᓤྨԙԿछ dpi ൣᙝ Device Green : hdpi Device Blue: xhdpi
ෳᯑʁ㣛ʁᄠʁ ᔒ᮫ɼṜཫ༗ডኸʂ
1920px 1080px 5” ~ 2.4 1280px 720px width height green!
(hdpi) 480 dp 853 dp blue! (xhdpi) 540 dp 960 dp ܭࢉ൛໘༗ଟগ dp ՄҎ༻
ኺࠓఱى㟬ጯ֘ཁಓᢛṜᒬ၏ • ༻ dp తࢥҡိઃܭ Android app త layout •
ఏڙҎ dp ҝᄸҐత֤छᦊນईੇᢛղੳత layout తඪࣔ • վఏڙҎ dp ҝᄸҐతईੇن֨ɼࣕෆੋҎ px ҝᄸҐ • ༌ग़ූ߹֤छ dpi (mdpi, hdpi, xhpdi …) ྨൣᙝେখతᅷ 䈕
૾ਅతᔒఔࢣతࣄʂ
େࡨಛࡨ
༻ XML ိฤሜ Drawable ݩ݅ • Light-weight • Highly performance
• Sharp • Reusable
Drawable Resources • Bitmap-File (.png, .jpg, or .gif) • Nine-Patch
File (.9.png) • Layer List • More…
9-Patch File 1px black line Scalable area Content area
3 <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 4 <item> 5 <shape> 6 <solid android:color="@color/theme_yellow"/>
7 </shape> 8 </item> 9 <item android:top="6dp"> 10 <shape> 11 <solid android:color="@color/theme_blue" /> 12 </shape> 13 </item> 14 </layer-list> Layer List
Layer List Bitmap Drawable ֎᧺ 䈕Ҋେখ 368 bytes 363 bytes
(don’t forget other dpi) 㕔ར ਗ਼ແൺ ކ ʢएࣗಈॖ์ʣ Ꮘೳ ීී ័ධ উ ഊ Layer List vs Bitmap Drawable