아래와 같은 layout은 runtime error 가 발생하며 APP 이 죽는다.

<Button android:id="@+id/sample"
    android:text = "update contacts"
    android:clickable="true"
    />

아래와 같이 layout_width와 layout_height를 넣지 않았기 때문이다.

<Button android:id="@+id/sample"
    android:text = "update contacts"
    android:layout_width="100dp"
    android:layout_height="100dp"
    android:clickable="true"
    />