2016年3月18日 星期五

Android Studio 使用自定義xml在layout身上+fill,warp,match difference

使用@string/ 來獲得值

fill_parent=>強迫填滿整個視窗

warp_parent=>依照內部內容自動擴展來適應大小

match_parent =>低版本的fill_parent用法

2016年3月11日 星期五

解決Android Studio Rendering Problems

通常有三個方法

1.改.xml執行的SDK版本

2.更改Theme的樣式

3.File" -> "Invalidate Caches...", and select "Invalidate and Restart" option to fix this