I have an unnecessary addition in my textview object. Let me focus only on the upper right text image in my image below, with 1.48and 6.91. My requirement is that the text is drawn in the upper right corner of its own border, so it is “justified on the surface” for DIJACORand “correctly substantiated” before +0.01. I tried gravity="top|right", includeFontPadding=falseand paddings=0but to no avail. In the second case, the rendering result shows some additional spaces after 6.91, which makes it inconsistent with -0.01below. Can anyone share with me how to fix this? Thanks!

This is how I define the textView object:
<TextView
android:id="@+id/priceLast"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginTop="0dp"
android:gravity="top|right"
android:includeFontPadding="false"
android:paddingBottom="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp"
android:singleLine="true"
android:text="@string/price"
android:textColor="@color/dark_green"
android:textIsSelectable="false"
android:textSize="24sp"
android:textStyle="bold" />
Root ViewGroup:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg_card_selector"
android:orientation="vertical"
android:paddingBottom="8dp"
android:paddingTop="4dp" >