O'Reilly logo

Android Development Tools for Eclipse by Sanjay Shah, Khirulnizam Abd Rahman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding the image resources

Copy the images provided in the supplement files for Chapter 4 to the res/drawable-hdpi folder through the Windows file manager, as shown in the following screenshot. In this exercise, we just provide the image resources for hdpi drawable. It's always a good practice to prepare all the suitable resources for xhdpi, mdpi, and ldpi accordingly. Do not forget we have a lot of screen size variant in the Android devices. Currently we also do not consider resources for the tablet size devices.

Adding the image resources

The resources for the drawable

Then go to your project explorer (in Eclipse), right-click on res/drawable-hdpi and click on Refresh. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required