<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id = "@+id/chat_room_root_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_marginTop="15dp"
android:text="TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/chat_room_text_time"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
<TextView
android:text="TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/text_chat_room_phonenum"
android:layout_marginLeft="18dp"
android:layout_marginStart="18dp"
android:layout_alignBaseline="@+id/chat_room_text_time"
android:layout_alignBottom="@+id/chat_room_text_time"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:text="TextView"
android:id="@+id/chat_room_text_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/text_chat_room_phonenum"
android:layout_alignLeft="@+id/text_chat_room_phonenum"
android:layout_alignStart="@+id/text_chat_room_phonenum"
android:layout_marginTop="16dp"
/>
<TextView
android:text="TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/chat_room_text_name"
android:layout_alignBaseline="@+id/text_chat_room_phonenum"
android:layout_alignBottom="@+id/text_chat_room_phonenum"
android:layout_toRightOf="@+id/text_chat_room_phonenum"
android:layout_toEndOf="@+id/text_chat_room_phonenum" />
<ImageView
android:layout_width="match_parent"
android:layout_height="2dp"
app:srcCompat="@android:color/darker_gray"
android:layout_below="@+id/image_chatting_room_new"
android:id="@+id/imageView4"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:id="@+id/image_chatting_room_new"
app:srcCompat="@drawable/dummy_image"
android:layout_alignTop="@+id/chat_room_text_date"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
</RelativeLayout>
이렇게 있습니다
어뎁터
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.view_chatting_room, parent, false);
return new ChatRoomViewHolder(view);
뷰홀더
private TextView phoneNum, date, time, name;
private ImageView notiImage;
public ChatRoomViewHolder(View view){
super(view);
this.view = view;
view.setOnClickListener(this);
phoneNum = (TextView)view.findViewById(R.id.text_chat_room_phonenum);
date = (TextView)view.findViewById(R.id.chat_room_text_date);
time = (TextView)view.findViewById(R.id.chat_room_text_time);
name = (TextView)view.findViewById(R.id.chat_room_text_name);
notiImage = (ImageView)view.findViewById(R.id.image_chatting_room_new);
}

Relative레이아웃에서 뭔가 하는거같은데 왜인지 질문 드립니다.