Creating an Image view of given shape in android
问题 I need to create an imageview of this particular shape in Android. If cropping an image in this shape is possible, then also its fine. Please help me out with it? 回答1: This will be the complete set <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="fitXY" android:src="@drawable/gohan" /> <ImageView android:layout_width="match