Hi i want to show some symbol above other text like $ and % how to achieve this.Following is reference image
I have one textview in that i directly added it as:
<TextView
android:id="@+id/month_txt"
android:layout_marginTop="15dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/roboto_medium"
android:text="$0.99/Month"
android:textSize="24sp"/>
for bold font i reied like
month_txt.setText(Html.fromHtml("$0.99" + "<b>" + "/Month" + "</b>"));
now bold font is working but not able to get $ sign above actual price
But as expected it show all in same lline. How to achieve this like above image