layout 질문입니다. 오른쪽 상단에서 약간씩 띄우고 싶은데..
notification layout 입니다.
<RelativeLayout xmlns:android="
http://schemas.android.com/apk/res/android"
android:id="@+id/layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffff"
android:padding="10dp" >
<ImageView android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_marginRight="10dp" />
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/image"
android:textColor="#000000"
style="Custom Notification Title" />
<TextView android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/image"
android:textColor="#000000"
android:layout_below="@id/title"
style="Custom Notification Text" />
<ImageButton
android:id="@+id/finish_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right|top"
android:layout_alignParentRight="true"
android:background="@drawable/x"/>
</RelativeLayout>
이미지 버튼을 layout 전체에서 오른쪽 상단에 배치를 하였는데.
오른쪽 상단을 기준으로 좌측 및 아래방향으로 ←+↓ 으로 약간씩 이동시키고 싶습니다.
어떻게 해야하는지 답변 부탁드립니다.