If you want to Import icon in your Android project. Which image you want to import your project, this image or icon must be “.png” format. Follow this steps……
At first import this image in drawable folder -> then using the bellow code for set image as icon.
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="<a class="ap-mention-link" href="http://datainflow.com/user/drawable">@drawable </a> /image_name" />
I hope that, it will be work properly.
Question and answer is powered by AnsPress.io