準備工作:How to build the layout
- 1.select views:2 TextView,ButtonView
- 2.position views:LinearLayout
- 3.style views:all caps,text color......
對View進行布局
- 將水平方向改成垂直方向,android:orientation="vertical"
- 全部大寫屬性,android:textAllCaps="true"
- 改變View之間間距,android:layout_marginBottom="16dp"
Java文件
- 之前對Java有一定的基礎,所以語法之類的不在相應筆記
- 了解Android Studio的一些錯誤信息以及如何排查