Question: I have two Textviews in a RelativeLayout like this:

```
<RelativeLayout>
   <TextView
    android:id="@+id/title"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
   (*) android:layout_above="@+id/message"
    android:layout_alignParentLeft="true"
    android:layout_alignParentRight="true" />
<ScrollView android:layout_width="wrap_content"
            android:layout_height="wrap_content" android:layout_weight="1">
    <TextView
     android:id="@+id/message"
     android:layout_width="302dp"
     android:layout_height="wrap_content"
     android:layout_above="@+id/editText1"/>
</ScrollView>

```

I want the Textview id'd "message" to be scrollable. So I added it within a ScrollView but where I have put a star (android:layout\_above) I am getting the error: @+id/message is not a sibling in the same RelativeLayout

How do I fix this? Any help is appreciated

Answer: 
It is giving this error because your TextView's parent is not relative layout,it's ScrollView. Instead give an id to your ScrollView and then use:

```
 android:layout_above="ScrollView id here"

```
**Do not use scrollview to make your TextView Scrollable. Rather use scrolling movement method like this way.**

```
TextView message = (TextView) findViewById(R.id.message);
message.setMovementMethod(new ScrollingMovementMethod());

```