O'Reilly logo

Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps by Mark Sherman, Derek Walter

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 an Image

Images are an effective way to add some visual polish to an app. Next, we insert an image into the app.

1. If you have not done so already, download the CatIsWatching image from the book’s InformIT page.

2. Find the box labeled Media, which is just below the Components box. Click the Upload File button (see Figure 2.16) and then upload the CatIsWatching file. This adds the image to the app, making it available to any component that uses the image. Note that the filename appears in the media box.

Image

Figure 2.16 Uploading an image.

3. Click User Interface in the Palette. Then click and hold the image and drag it onto the Android ...

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