jianghuiquan-從零開始學Android目錄(001)
jianghuiquan-從零開始學Android目錄(001)
目錄:
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″