Abgerundete Ecken für eine Bildansicht in Android

Ich habe eine Textansicht und eine Bildansicht in einem linearen Layout. Textansicht ist oben und Bildansicht unten. Ich habe unter Linien abgerundete Ecken für das lineare Layout verwendet. Bildansichtsecken runden sich jedoch nicht. Ich sehe, dass nur die oberen Ecken des linearen Layouts abgerundet sind.Wie kann ich die unteren Ecken der Bildansicht abgerundet haben? (Ich sehe, dass alle Ecken abgerundet sind, wenn ich die Bildansicht entferne.)

rounded_corners.xml

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >

<solid android:color="#ffffff" />


<corners
    android:bottomLeftRadius="8dp"
    android:bottomRightRadius="8dp"
    android:topLeftRadius="8dp"
    android:topRightRadius="8dp" />

</shape>

main.xml

  <LinearLayout
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="50dp"
    android:layout_marginLeft="10dp"
    android:layout_marginRight="10dp"
    android:layout_marginTop="50dp"
    android:background="@xml/rounded_corners"
    android:orientation="vertical" >

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="xxxxxxxx" />

    <ImageView     
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:scaleType="centerCrop"
        android:src="@drawable/my_image_view" />
</LinearLayout>

Bildschirmfoto :

Antworten auf die Frage(3)

Ihre Antwort auf die Frage