Androidå¼åéè¦æ³¨æçå 项ï¼
1ã导å
¥çç±»åºéè¦å项ç®å¨å级ç®å½ä¸ï¼è°¨é²èµæºæ件ä¸ç±»åºä¸å²çªã
2ãtextviewsetText为intæ¶åï¼textviewçcolor代ç 设置ï¼set/getTextSize åä½é®é¢ã
3ãjson å±æ§èç¹ä¸è½æç©ºæ ¼ã
4ãassetä¸ä½¿ç¨ç¬¬ä¸æ¹åä½ xx.ttf å¿
é¡»é½ä¸ºå°åã
5ãlistViewèªå®ä¹adapterä¸å¤ç¨holderæ¶åï¼å¦æview/checkboxç对åºä¸åç¶ææ¾ç¤ºä¸åçå¾çï¼åè®°æ
åµåå
¨ï¼ä¸ç¶ä¼åºç°éä¹±é®é¢ã
6ãåä¸ä¼ æ¶åè®°å¾é®é®æå¡ç«¯æ¯å¦éå¶äºä¸ä¼ æ件大å°ã
7ãcontext/getApplicationContextï¼è§ä½ æ¯å¦éè¦æ¶åå°uiæ¶åéæ©åéçcontextã
8ãåå¨å¤ç¨æ¶åï¼å°½énew对象çæä½ç§»å°å¤ç¨ä¹å¤ï¼ä»¥é²oomã
9ãæ°æ®åºæä½å éã
10ãç¨Activityæ¥æ¾ç¤ºåºçdialogï¼popupwindowçæ§ä»¶éè¦å¨Activityå
³éæ¶åï¼ä¹åä¹ç»å
³äºï¼ã
11ãtoastï¼å¤ææ¯å¦æ ¼å¼ï¼ä¸ºç©ºçï¼å°è£
ã
12ãuiå¸å±å¨å¤æºåä¸çæµè¯ã
13ãnew handleræ¶åå°½éåå¨ç´§è·å
¶ä»æ§ä»¶çè·åä¹åï¼é²æ¢ç©ºæéã
14ãcontext.startActivity();è¦intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);ã
15ãé对ä¸äºç¹å®çåªè½ä¸ºæ°åçeditText 设置软é®çç±»å为æ°åï¼ä¸ºç¨æ·èçåæ¢è¿ä¸æ¥éª¤ï¼edittext.setInputType(EditorInfo.TYPE_CLASS_PHONE);ã
16ãarmeabi-v7aã
17ãçå¬é®çè¾å
¥ä¼æ两次ï¼ï¼ä¸æ¬¡up ä¸æ¬¡downï¼ã
18 ãä¸åç±»åçèµæºæ件æ好ä¸è¦éåï¼ä¸ç¶ä¼å¶å°åç°ç©ºæéï¼eclipseä¼æ½ï¼æ¾æå¦ä¸æ§ä»¶ã
19ãAlarmManager PendingIntent è¿ç©æå¨miui ä¸ç®¡ç¨ã
20ãé¨åç³»ç» datepickdialog çonDateSet æ§è¡ä¸¤æ¬¡ã
21ãfragment startActivityForResult åè°ã
温馨提示:内容为网友见解,仅供参考