Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use images in mipmap folder in the layout xml file

 
sara ahmed
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,,,
I want to ask how to use images in mipmap folder in the layout xml file and how can I find the images resource id "mipmap" in R.java?
 
sara ahmed
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found away like I use this code :
< ImageButton
android:id="@+id/next_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/arrow_right"
/>

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!