jianghuiquan-從零開始學Android目錄(003)​

jianghuiquan-從零開始學Android目錄(003)​

jianghuiquan-從零開始學Android目錄(003)



001.-廢話(http://blog.csdn.net/jianghuiquan/article/details/8225504)
002.-ADT就可以了(http://blog.csdn.net/jianghuiquan/article/details/8227486)
003.-Hello,world(http://blog.csdn.net/jianghuiquan/article/details/8232253)
004.-上架打包(http://blog.csdn.net/jianghuiquan/article/details/8240377)
005.-專案架構介紹(http://blog.csdn.net/jianghuiquan/article/details/8244374)
006.-EditText & Button介紹(http://blog.csdn.net/jianghuiquan/article/details/8252430)
007.-RadioGroup & CheckBox介紹(http://blog.csdn.net/jianghuiquan/article/details/8252525)
008.-下拉Spinner(http://blog.csdn.net/jianghuiquan/article/details/8252537)
009.-ImageButton(http://blog.csdn.net/jianghuiquan/article/details/8252548)
-設置android:padding=”0dp”,按鈕灰色邊框去掉。
-設置android:src=”@drawable/名稱”,圖片資源。
010.-ImageView(http://blog.csdn.net/jianghuiquan/article/details/8252554)
-ImageView.setImageResource(R.drawable.名稱);//程式載入資源檔圖片
011.-DatePicker & TimePicker(http://blog.csdn.net/jianghuiquan/article/details/8294126)
-getYear()、getMonth()、getDayOfMonth()方法獲取年、月、日。
-getCurrentHour()、getCurrentMinute()方法獲取時、分。
012.-佈局Layouts之LinearLayout線性佈局(http://blog.csdn.net/jianghuiquan/article/details/8295714)
013.-RelativeLayout(http://blog.csdn.net/jianghuiquan/article/details/8298687)
014.-FrameLayout(http://blog.csdn.net/jianghuiquan/article/details/8299961)
015.-TableLayout(http://blog.csdn.net/jianghuiquan/article/details/8299970)
-重點在指定有幾列,行的部分可以不規則
016.-GridLayout(http://blog.csdn.net/jianghuiquan/article/details/8299973)
    -android:rowCount=”5″  
    -android:columnCount=”4″
-Button有android:layout_columnSpan=”2″ 和 android:layout_columnSpan=”3″
018.-按鈕事件(http://blog.csdn.net/jianghuiquan/article/details/8307909)
-btnLogin.setOnClickListener(new LoginOnClickListener());
-btnLogin.setOnClickListener(new OnClickListener(){
020.-RadioGroup & CheckBox事件OnCheckedChangeListener(http://blog.csdn.net/jianghuiquan/article/details/8333582)
021.-事件OnItemSelectedListener(http://blog.csdn.net/jianghuiquan/article/details/8348566)
-下拉式選單的值放在資源檔中
022.-下拉式選單連動(http://blog.csdn.net/jianghuiquan/article/details/8348575)
-下拉式選單的值放在二維字串陣列中
023.-改變焦點事件OnFocuChangeListener
024.-長按2秒事件OnLongClick(http://blog.csdn.net/jianghuiquan/article/details/8348680)
-修改桌面權限設定<uses-permission android:name=”android.permission.SET_WALLPAPER”/>  
025.-觸控事件OnTouchListener(http://blog.csdn.net/jianghuiquan/article/details/8348695)
026.-鍵盤事件OnKeyListener(http://blog.csdn.net/jianghuiquan/article/details/8348731)
-字串函數(length、substring)
027.-滾動畫面(元件要超過視窗大小)ScrollView(http://blog.csdn.net/jianghuiquan/article/details/8349570)
-動態增加元件(但是實際上作法應該還要建立物件陣列)
-ScrollView要包在LAYOUT的外面
028.-ListView之一(http://blog.csdn.net/jianghuiquan/article/details/8349576)
-單純顯示文字版
029.-ListView之二(http://blog.csdn.net/jianghuiquan/article/details/8349587)
-圖加文字(ArrayAdapter)
030.-AlertDialog(http://blog.csdn.net/jianghuiquan/article/details/8350461)
-(有四個範例-純文字、文字+按鈕、單選、複選)
032.-日期時間選擇對話盒DatePickerDialog(http://blog.csdn.net/jianghuiquan/article/details/8350468)
033.-進度對話盒ProgressDialog(http://blog.csdn.net/jianghuiquan/article/details/8350472)
034.-拖拉元件SeekBar(http://blog.csdn.net/jianghuiquan/article/details/8350475)
035.-評分元件RatingBar(http://blog.csdn.net/jianghuiquan/article/details/8350476)
036.-提示Toast(http://blog.csdn.net/jianghuiquan/article/details/8350479)
-包含標準文字模式和自訂LAYOUT模式
037.-圖片切換ImageSwitcher&Gallery(http://blog.csdn.net/jianghuiquan/article/details/8350486)
038.-開關元件Switch和ToggleButton(http://blog.csdn.net/jianghuiquan/article/details/8350489)
039.-GridView(http://blog.csdn.net/jianghuiquan/article/details/8350498)
040.-數字/類比時鐘(http://blog.csdn.net/jianghuiquan/article/details/8350501)
041.-計時器Chronometer(http://blog.csdn.net/jianghuiquan/article/details/8350512)
042.-Tabhost(頁籤UI)(http://blog.csdn.net/jianghuiquan/article/details/8350515)
043.-OptionsMenu(系統菜單)(http://blog.csdn.net/jianghuiquan/article/details/8350519)
-設定AndroidManifest.xml變成新式菜單
044.-ContextMenu(本文菜單)(http://blog.csdn.net/jianghuiquan/article/details/8350524)
045.-SubMenu(子菜單)(http://blog.csdn.net/jianghuiquan/article/details/8350525)
046.-SlidingDrawer(滑式抽屜)(http://blog.csdn.net/jianghuiquan/article/details/8350533)
-SlidingDrawer+ListView
047.-ZoomControls(放大鏡)(http://blog.csdn.net/jianghuiquan/article/details/8350538)
048.-PopupWindow(http://blog.csdn.net/jianghuiquan/article/details/8350541)
-自定義選單(Menu)
-自定義UI背景樣式(shape)
049.-ExpandableListView(可伸縮的ListView)(http://blog.csdn.net/jianghuiquan/article/details/8350550)
050.-AutoCompleteTextView(提示文字方塊)(http://blog.csdn.net/jianghuiquan/article/details/8350564)


 


發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *