Creating an Apple-Style Input Field With Display Labels | Design Shack appleã¹ã¿ã¤ã«ã®ã¯ã¼ã«ãªã¤ã³ããããã£ã¼ã«ãå®è£ ãã¥ã¼ããªã¢ã«ãå ¬éããã¦ãã¾ãã 次ã®ããã«ã°ã©ãã¼ã·ã§ã³ãããã£ã¦ãããã«ã¼ã½ã«ãããããã¨éããã¤ã©ã¤ãããã¾ãã æ®éã®ã¤ã³ããããã£ã¼ã«ãã¨æ¯ã¹ã¦ãªããªããã£ãè¯ããªã£ã¦ã¾ãããµã³ãã«ã®ãã¦ã³ãã¼ããå¯è½ ãã¢ãã¼ã¸ border-radiusãtext-shadowãªã©CSS3ãé§ä½¿ãã¦ãããã§ãã é¢é£ã¨ã³ã㪠textareaãinputã§ã¿ãã®å ¥åãå¯è½ã«ããjQueryãã©ã°ã¤ã³ãEnable tab keyã ã¯ã¼ã«ã§é«æ©è½ãªæ¬¡ä¸ä»£æ¤ç´¢ããã¯ã¹ãä½æã§ãããVisualSearch.jsã
Androidã§ã¯Themeã¨ãããã¶ã¤ã³ãçµ±ä¸ããä»çµã¿ãããã¾ãã Themeã使ç¨ããã¨èæ¯ãæåè²ãåUIã³ã³ãã¼ãã³ããã¢ããªã±ã¼ã·ã§ã³ãActivtyåä½ã§çµ±ä¸ã§ãã¾ãã ããã¯é常ã«ä¾¿å©ãªæ©è½ã§ãããã¢ããªãä½ã£ã¦ããã¨ãã®é¨åã ãã¯éããã¶ã¤ã³ã«ãããã¨æãç®æãåºã¦ããã¨æãã¾ãã ããããå ´åã¯style.xmlã使ç¨ãã¦å¤æ´ãããé¨åã®ãã¶ã¤ã³ã®ã¿ãå¤æ´ããã¨ããæ¹æ³ãåå¨ãã¾ãã 詳細ã¯ä»¥ä¸ããã style.xmlãã¡ã¤ã«ãç¨æãã ã¯ããã«ãã¡ã¤ã«ã®ç¨æããã¾ãããã stlye.xmlã¨ãããã¡ã¤ã«ãç¨æããvaluesãã©ã«ãã«æ ¼ç´ãã¾ãã ããã§ã¯ãã¡ã¤ã«ã®å 容ã¯ã¿ã°ã®ã¿ãè¨è¿°ãã¦ããã¾ãã style.xml <?xml version="1.0" encoding="utf-8"?> <resources> </resources> ã«ã¹ã¿ãã¤ãºå 容ã
æ¥é±ã¯å¤ä¼ã¿ãã¨ããç¸æ¨¡æ¹ã§ãã³ã宿æ³äºå®ã®ishidaã§ãã ãã¾ã«ã¯å®¶æãµã¼ãã¹ããªãã¨ãã ä»åã¯box-shadowã«ã¤ãã¦ã®Tipsã§ãã CSS3ã®ãããã§å½±ã®è¡¨ç¾ã¯ãããªã¼ã楽ã«ãªãã¾ããã ã§ãã§ããIE6ï½7ã対象ãã©ã¦ã¶ã ã£ããããæ¡ä»¶ã¾ã å¤ãã§ãããã ãããªæã¯ãCSS3ã®box-shadowããããã£ã使ããªãã§å®è£ ãã¦ã¿ãã¹ãã â»å½±ã®ã¼ããã«ã¤ãã¦ã¯ãªãã¨ããåæã§ãé¡ããã¾ãã CSS3ã§å®è£ ããbox-shadow ä¾ãã°å¹³é¢ã«è¿ãå½±ã®ãããªå ´åã¯ããããªæãã§ãã
EditTextã«ããã¹ããå ¥åãããã¨ããã¨ã½ãããã¼ãã¼ãã表示ããã¾ããã EditTextã®ãã©ã¼ã«ã¹ãå¤ãã¦ãã½ãããã¼ãã¼ããé表示ã«ãªããã«ã次ã®æä½ã®éªéã«ãªã£ã¦ãã¾ãå ´åãããã¾ãã ä»åã¯EditTextã®ãã©ã¼ã«ã¹ãå¤ããã¨ãã«ã½ãããã¼ãã¼ããé表示ã«ããæ¹æ³ã«ã¤ãã¦ãç´¹ä»ãããã¨æãã¾ãã 詳細ã¯ç¶ãããã©ããã ãã©ã¼ã«ã¹ã®ç¶æ å¤åãæ¤ç¥ãã ã¾ããEditTextã®ãã©ã¼ã«ã¹ãå¤ãããã¨ãæ¤ç¥ããããã®ä»çµã¿ãå¿ è¦ã«ãªãã¾ãã ããã«ã¯onFocusChangedã³ã¼ã«ããã¯ã¡ã½ãããå©ç¨ãã¾ãã onFocusChangedã³ã¼ã«ããã¯ã¡ã½ããã¯EditTextãªã©ã®ãã¥ã¼ããã©ã¼ã«ã¹ãããã ãããã¯ãã©ã¼ã«ã¹ãå¤ããã®ãããªã¬ã¼ã«å¼ã³åºãããã¡ã½ããã§ãã void onFocusChange(View v, boolean hasFocus) å¼æ°ã®v
å ¨ä½ã®ãã¬ãã¥ã¼ããã¼ã¸ãµã¤ãã«åºãã¦ããã¥ã¡ã³ãã®ã©ãã«ããããåãããããã§ãããjQuery.fracsã 2011å¹´08æ05æ¥- jQuery.fracs larsjung.de å ¨ä½ã®ãã¬ãã¥ã¼ããã¼ã¸ãµã¤ãã«åºãã¦ããã¥ã¡ã³ãã®ã©ãã«ããããåãããããã§ãããjQuery.fracsã 縦ã«é·ã¼ããµã¤ãã ã¨ä»ã©ãèªãã§ããã®ãï¼ããããªããªã£ã¦ãã¾ããã¨ãããã¾ãã. ãã®ã©ã¤ãã©ãªã使ãã°ãã¼ã¸ã®ãµã ãã¤ã«ãåçã«çæãããã¨ã£ã¦ãããããããã ãã§ãªãããµã ãã¤ã«ä¸ããã©ãã°ï¼ããããã§ãã¼ã¸ç§»åã§ãã¡ããã¾ã å³æ¨ªã«ãã¼ã¸å ¨ä½åã®ãµã ãã¤ã« æ¡å¤§ããã¨ãããªæãã§ã ãã©ãã°ï¼ããããã§ãã¼ã¸å ãç¬é移åå¯è½ã ããã¯ãã¤ã¹ã§ãã é¢é£ã¨ã³ã㪠ãã¼ã¸å ãã¤ã©ã¤ãæ¤ç´¢ãå®è£ ã§ããjQueryãã©ã°ã¤ã³ãPlain Text Keyword Searchã ä»ã¾ã§ãªãã£
FancySelector Demo ã«ãã³ããselectããã¯ã¹ãä½æã§ããjQueryãã©ã°ã¤ã³ãFancySelectorã 次ã®ãããªãã¼ã¸å ¨ä½ã«åºããselectããã¯ã¹ã¿ãããªãã®ãä½æãããã¨ãã§ãã¾ãã ãã¼ã¸å ¨ä½ã«åºãã¦ã¤ã³ãã¯ããããããããããªå ´åã«ä½¿ãããã§ã ãã¼ã¸å ã®selectã®ä»£æ¿ã¨ãã¦ã使ããã¨ãã§ãã¾ããããã¯ããã§ãªããªãããããããã¾ããã é¢é£ã¨ã³ã㪠ãã¶ã¤ã³ãããã¦è¤æ°é£åå¯è½ãªselectããã¯ã¹ä½æjQueryãã©ã°ã¤ã³ ã¢ã¤ã³ã³ä»ãã§èªç±ã«ãã¶ã¤ã³ã§ããselectããã¯ã¹å®è£ jQueryãã©ã°ã¤ã³ãjQuery.superselectã selectããã¯ã¹å©ç¨æã«é¸æè¢ãè¤æ°é¸ã¹ãUIãæä¾ãã¦ãããjQueryãã©ã°ã¤ã³ãselectListã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}