안드로이드 개발 질문/답변
(글 수 45,052)
<?xm1 version="1.0" encoding=" u t f -8"?>
<LixmnearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_sidth="fill_parent"
android:layout_heighy="wrap_content">
>
<TabHost
android:id="@+id/tabHost"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TabWidget
android:id="@ android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
</TabWidget>
<FrameLayout
android:id="@ android:id/"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingTop="64dip">
<AnalogClock
android:id="@+id/tab1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_height="wrap_content">
<AnalogClock>
<DigtalClock
android:id="@+id/tab2"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
</DigitalClock>
</FrameLayout>
</Tabhost>
</LinearLayout>
<LixmnearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_sidth="fill_parent"
android:layout_heighy="wrap_content">
>
<TabHost
android:id="@+id/tabHost"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TabWidget
android:id="@ android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
</TabWidget>
<FrameLayout
android:id="@ android:id/"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingTop="64dip">
<AnalogClock
android:id="@+id/tab1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_height="wrap_content">
<AnalogClock>
<DigtalClock
android:id="@+id/tab2"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
</DigitalClock>
</FrameLayout>
</Tabhost>
</LinearLayout>
여기서
android:layout_height="wrap_content">
<AnalogClock>
이두부분에서 x에러가뜨는데요...




왜문제가 되는지 생각해 보시기 바람니다 당연히 문제가 되니깐요 왜? 가 중요한검니다 왜 안될까 생각하고 생각하고 생각하세요
공부하고있는 단계잖아요 이 xml 몇번이고 쭉 보다보면 문맥상 이상한점이 있을검니다 그걸 찾아서 고치시구요 못찾아서 못고치면 책을 더 보세요 이런 아주 초보적인 문법오류를 왜 나는지 모르면서는 어플을 만들수 없습니다
노력없이 되는거 없습니다 .