아래와 같은 layout은 runtime error 가 발생하며 APP 이 죽는다.
<Button android:id="@+id/sample" |
아래와 같이 layout_width와 layout_height를 넣지 않았기 때문이다.
<Button android:id="@+id/sample" |
'Programming > Android' 카테고리의 다른 글
[Problem] Android Resource Build 실패-'@style/Theme.AppCompat.Light'). (0) | 2015.02.15 |
---|---|
Andorid 의 Contact 정보 접근 (0) | 2015.01.07 |
[개발] Resource 의 참조 방법 (0) | 2014.12.27 |
[IDE 팁]Android ADT 툴에서 한글이 작게 보일 때 (0) | 2014.12.27 |
[개발]Android 에서 Interface 의 의미 (C의 Callback 과 유사) (0) | 2014.12.22 |