<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_marginTop="200dp"
android:layout_height="160dp"
android:layout_width="160dp"
android:background="@drawable/image1"/>
<TextView
android:id="@+id/pm_tv"
android:layout_gravity="right"
android:gravity="right"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/chat"
android:textSize="20sp" />
</RelativeLayout>
</ScrollView>
</LinearLayout>