android custom user interface
make changes in your code as follows
<ImageView
android:layout_gravity="center"
android:id="@+id/iv_avatar"
android:layout_width="80dp"
android:layout_height="80dp"
android:contentDescription="@string/app_name"
android:src="@mipmap/ic_launcher"
android:scaleType="fitCenter"/>
<LinearLayout
android:gravity="center"
android:id="@+id/ll_winner_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_marginTop="-20dp"
android:layout_marginStart="-20dp"
android:id="@+id/tv_rank"
android:text="1"
android:layout_alignParentTop="true"
android:rotation="120"
android:background="#000"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView
android:layout_below="@id/tv_rank"
android:layout_marginTop="40dp"
android:layout_marginStart="-30dp"
android:layout_marginEnd="0dp"
android:id="@+id/tv_earned_amount"
android:text="5$"
android:rotation="120"
android:background="#000"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</FrameLayout>
result