I have a fragment with the following structure
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/tv_title"
style="?android:tileMode"
android:layout_width="match_parent"
android:layout_height="100dp"
android:minHeight="100dp"
android:layout_alignParentTop="true"
android:fontFamily="sans-serif-light"
android:textSize="25sp"
android:gravity="center"
android:textColor="@android:color/white"
android:textAlignment="center" />
<ImageView
android:id="@+id/iv_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tv_title"
android:contentDescription="@string/image"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:cropToPadding="false"
android:scaleType="fitXY"/>
</RelativeLayout>
The problem is that an unwanted line appears between the TextView and the ImageView.
I tried a lot of different atempts with the position and the image, but I can not make this line disappear.
By the way, all this is inside an Activity which extends a FragmentActivity.