Android 2.1ã¢ã¤ã³ã³ä½ææ¹æ³ 3ã¤ã®ãã¤ã³ã
ADF2010 LT AndroidéçºTipsã®å¾åã§ãããå¾ ãããã¾ããã
Android Developerã®Icon Design Guidelines, Android 2.0ãåå
¸ã§ãã
è±èªã§ãããã¶ã¤ã³ã«ã¤ãã¦å¤§å¤åèã«ãªãã¾ãã
以ä¸ãèªãã§èå³ãæã£ãã²ã¨ã¯æ¯éãèªãã§ã¿ã¦ä¸ããã
- ã©ã³ãã£ã¢ã¤ã³ã³ã®ãã¶ã¤ã³ãã¤ã³ã
- ã¢ã¤ã³ã³ã®æ¨å¥¨ãµã¤ãº
- 綺éºã«è¦ãã便å©ãã¼ã«"Draw9patch"
ã©ã³ãã£ã¢ã¤ã³ã³ã¯ã¢ããªã®é¡
Androidã¢ããªã±ã¼ã·ã§ã³ã®é¡ã¨ãããã¢ã¤ã³ã³ã§ãããæå¤ã«è¦å´ãã¦ãã人ãå¤ãã¯ãã
ã¢ã¤ã³ã³ä½æã®ãã¤ã³ããç´¹ä»ãã¾ãã
(Style Do's and Don'ts)ãã
å³ã¯ã°ãããã©ã¯ãã£ã¹ã¨ããããã©ã¯ãã£ã¹ã®æ¯è¼ã§ã*1
Android2.0ã§è¯ãã¨ãããã¢ã¤ã³ã³ã§ã¯ä»¥ä¸ã®3ã¤ã®ãã¤ã³ããããã¾ãã
- ã¢ãã³ãªãã¶ã¤ã³
ãã¾ãå¤ãããããªããã¨(ã¢ããªã¾ã§å¤ã¼ãã¦è¦ãããã)
- æå°éã®è¡¨ç¾ã§ã¢ããªã±ã¼ã·ã§ã³ã®æ¦è¦ã表ç¾ãã
(ãã¨ãã°å·¦ããäºçªç®ã®ã¢ã¤ã³ã³ã¯ãããµã¼ã§ããããã¡ããã¡ããã¦ãã¾ããä¸ã¤ä¸ã®ã¹ãã¼ã«ã¼ã¯ã·ã³ãã«ã§ããããã¾ã表ç¾ãã¦ãã¾ã)
- å¹³é¢çã§ãçµ±ä¸æã®ããè²ä½¿ããå¿ããã
ã (ããããªè²ã使ããããã¨ãè½ã¡çããç¡ããªãã¾ã)
ã¾ããAndroid1.xã®æã¯ãã¢ã¤ã³ã³ã¬ã¤ãã©ã¤ã³ã§ã¯ãè§åº¦ãã¤ãã¦æãã§ç½®ãã°ããããã¨ããã¾ããããAndroid 2.0 ã¨ã¯ã¬ã¢ä»¥éã§ã¯æ¨å¥¨ãã¦ããªãããã§ãã
(ãã¶ã¤ã³ã¬ã¤ãã©ã¤ã³ã¯ãã©ãããã©ã¼ã ã®é²åã¨ã¨ãã«å¤ãã£ã¦ãã¾ã)
ã¢ã¤ã³ã³ãµã¤ãºã®è
ã©ã³ãã£ã«è¡¨ç¤ºãããã¢ã¤ã³ã³ã¯è§£å度ã«ãã£ã¦3ã¤ã®ãµã¤ãºãè¦å®ããã¦ãã¾ãã
説æ/解å度 | é«è§£å度 | ä¸è§£å度 | ä½è§£å度 |
æ大ãµã¤ãº | 72 x 72 px | 48 x 48 px | 36 x 36 px |
æ¨å¥¨ç¯å² | 60 x 60 px | 40 x 40 px | 30 x 30 px |
ç©å½¢ã®ç¯å² | 56 x 56 px | 38 x 38 px | 28 x 28 px |
ãã¶ã¤ã³ãã¨ã«æ¨å¥¨ç¯å²ããããåè§ããã¶ã¤ã³ã®ã¢ã¤ã³ã³ã
ãã£ã¨ãå°ããæå®ãåãã¦ãã¾ã(ããã ãåå¨æãããããï¼)
(Size and positioning)ãã
ã¢ã¤ã³ã³ä½æã«ä¾¿å©ãªãã¼ã«"nine-patch"
Androidã¢ããªã±ã¼ã·ã§ã³ã«ã¯ãããããã¢ã¤ã³ã³ãç»å ´ãã¾ãã
ã©ã³ãã£ã»ã¡ãã¥ã¼ã»ã¹ãã¼ã¿ã¹ãã¼ã»ã¿ãã»ãã¤ã¢ãã°ã»ãªã¹ããã¥ã¼ã
ããããã®æ©è½ã«è§£å度(é«ã»ä¸ã»ä½)ãæ´ã«æå®ãããæ大6ãã¿ã¼ã³å¿
è¦ã§ãã
å
¨ã¦ãæåããç¨æããã®ã¯æéãªã®ã§ãåºæ¥ãã ãæãæãããã¨ããã§ãã
ãããªã¨ã便å©ãªã®ããSDKã«å梱ããã¦ããDraw9Patchã
(android-sdk-windows\tools\draw9patch.bat)
NinePatchã¤ã¡ã¼ã¸(æ¡å¤§ã»ç¸®å°ãã¦ãããããªã¾ã¾)ã®ä½æãã¼ã«ã§ãã
ããã§ã1ã¤ã®ã¢ã¤ã³ã³ãç¨æããã°ã½ã³ã½ã³ãããã«è¦ãã¾ãã
9ã¤ã®ã¨ãªã¢ãæå®ãã¦ä¼¸ç¸®ã®å¯/ä¸å¯ã決å®ãã¾ãã
ç·¨éå¾ã¯[ãªã¾ã.9.png]æ¡å¼µåã§ä¿åãã¦ãã ããã
ååãä¸è¨è¦åã«å¾ã£ã¦ããã°ãèªåçã«ãããã«æ¡å¤§ç¸®å°ãã¦ããã¾ãã
ãã©ãã°ã¢ã³ãããããã§å
ç´ æãèªã¿è¾¼ã¿ã¾ãã
ä»åã¯Powerpointã§åè§ãç®±ãç¨æãã¾ãã*2
ã¡ãã£ã¨ãã¼ã«ã®ä½¿ãæ¹ã«ã¯ã³ããããã®ã§ããã
ã»ç»åã®å·¦ç«¯ã¨ä¸ç«¯ãæ¡å¤§ãã¦å·¦ã¯ãªãã¯ããªããã端ããªãã
(å³ã®ããã«æåã¯ç·ã交差ãã¦ããç¯å²ããã³ã¯ã§è²ãã¤ãã¾ã)
失æãã¦ãå³ã¯ãªãã¯ã§ãªããç´ãã¨æ¶å»ã§ãã¾ãã
ç»åã®æ¡å¤§ã縮å°ã使ããªãããã¾ã9åå²ã§ããã°ããxxx.9.pngãã§ä¿åãã¦ä¸ããã
ç»é¢ã§ãã³ã¯ã®é¨åãæ¡å¤§ã»ç¸®å°(å·¦å³æ¯ãä¿ã£ãã¾ã¾)ãããç®æã§ãã
ç·ã®é¨åãå¼ã延ã°ãæ¹åã«åããã¦ä¼¸ã³ã¾ãã
ã©ã®ç°å¢ã§ã綺éºã«è¦ããã¢ã¤ã³ã³ã®ã§ããããã§ãã
(ã¢ã¤ã³ã³ã ãã§ãªããæ¡å¤§/縮å°ãå¿
è¦ãªå種ç»åã«ä½¿ãã¦ä¾¿å©ï¼
*1:ã¬ã¤ãã©ã¤ã³ã«åãã¦ãåãæãã¨ããè¦ç¹ã§