I created two linearlayout with rotation and then I placed the imageview in it ...
If the app loads and imageview displayed the edges of images in imageview look like this
How can i get the imageview with proper edges.
以下は、このための私の xml コンテンツです。
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:layout_marginTop="220dp"
android:background="@drawable/mainscreen_imageframe"
android:gravity="center"
android:rotation="-8" >
<ImageView
android:id="@+id/imgBride"
android:layout_width="150dip"
android:layout_height="132dp"
android:layout_marginBottom="15dip"
android:adjustViewBounds="true"
android:contentDescription="@string/app_name"
android:scaleType="fitXY"
android:background="@drawable/noimage" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="-47dip"
android:layout_marginTop="210dp"
android:background="@drawable/mainscreen_imageframe"
android:gravity="center"
android:rotation="9" >
<ImageView
android:id="@+id/imgGroom"
android:layout_width="150dp"
android:layout_height="132dp"
android:layout_marginBottom="15dip"
android:adjustViewBounds="true"
android:contentDescription="@string/app_name"
android:scaleType="fitXY"
android:src="@drawable/noimage" />
</LinearLayout>
</LinearLayout>
友人はこれを解決するために私を助けてくれます...回転で適切な画像エッジを取得する方法