소스에서 보시면 먼저 사진을 붙이고 그오른쪽에 텍스트를 붙였습니다
그다음에 텍스트의 오른쪽 하단에 이미지 하나를 붙일려고하는데 틀린부분이 있는지요?
이클립스에서 xml파일로 이미지 레이아웃으로 보니깐 처음에 붙었던 이미지자리에 그대로 붙어서 2개가 같은자리에 붙어있더라고요..
분명 text1의 하단에 붙이고 오른쪽정렬해서 생각한데로 나올줄알았는데.....
뭐가 잘못됐는지 알려주셔요!!!
<?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"
android:padding="5px" >
<ImageView
android:id="@+id/main_picture"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/icon" />
<TextView
android:id="@+id/text1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/main_picture"
android:paddingTop="3px"
android:paddingBottom="3px"
android:text="text--text--text--text--text--text--text--text--text--text--text--text--text--text--text--text--"
/>
<ImageView
android:id="@+id/main_picture1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/text1"
android:layout_alignRight="@id/text1"
android:src="@drawable/icon" />
</RelativeLayout>



