1주일째 이거 잡고 앓아 누웠습니다. 이렇게해도 아무런 변화가 없네요 ㅠㅠ
도대체 아래 구문에서 어디가 문제있는건지요...ㅠㅠ
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/text"
android:text="@string/hello"
/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/image"
android:layout_below="@id/text"
android:src="@drawable/icon"
android:scaleType="center"
/>
<TextView
android:id="@+id/entry"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/image"
android:layout_marginLeft="10dip"
android:text="Text"
/>
<Button
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/image"
android:layout_alignRight="@id/entry"
android:text="Button" />
</RelativeLayout>
[2010-07-26 13:54:59 - mw002RelativeLayout] Installing mw002RelativeLayout.apk...
[2010-07-26 13:55:09 - mw002RelativeLayout] Success!
[2010-07-26 13:55:10 - mw002RelativeLayout] Starting activity com.android.mw002RelativeLayout.mw002RelativeLayout on device
[2010-07-26 13:55:18 - mw002RelativeLayout] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.android.mw002RelativeLayout/.mw002RelativeLayout }
우선 문법상의 오류는 없어 보입니다. 그러니..
layout_below 나 scaleType, alignRight 등의 메소드들이 서로의 관계에 맞게 쓰여졌는지 검토해 보세요..
제일 확실한 방법은..
가장 기본적인 layout_width, layout_height 등만 남기고 다른것들을 모두 주석 처리하고 해보세요.
그래도 오류가 난다면 뭔가 다른것이 문제가 있는걸 겁니다. ^^
저는 DB수집한다고 2일째 눈이 빠지겠네요. ㅋ 없던 두통도 생길 판입니다.