First copy the desired image then copy and paste the image in DRAWABLE folder then write the xml code
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:src="@drawable/l"
- android:scaleType="centerCrop"
- android:id="@+id/logo"
- />
in android:src in "l" place you can give image name and android:id in logo place you can give any name
No comments:
Post a Comment