Обычно мне приходится писать такой код макета:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" />
Я хочу сделать что-то вроде этого :
<LinearLayout xmlns="http://schemas.android.com/apk/res/android"
layout_width="fill_parent"
layout_height="fill_parent"
orientation="vertical" >
Но этот код работает некорректно. Почему?
И второй вопрос: почему namen элемента находится в CamelCase, а атрибуты - в under_score?