O'Reilly logo

Building E-commerce Sites with VirtueMart Cookbook by John Horton

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

Branding our WebView

Now we are going to make our app, well, more app like. We will add a logo to the bottom of the screen. This will make our app look and feel more like something you would download from Google Play (which it will be) and less like something you simply browse to on the web.

Getting ready

Have ready a small logo perhaps no more than 300 pixels wide and 100 pixels high. Name it logo.png.

How to do it...

This is nice and easy, follow along carefully and we will soon be done.

  1. In the Eclipse Package Explorer find and double click on the folder drawable-mdpi. Make the Eclipse window smaller and drag your logo file into drawable-mdpi. Your graphics are now ready to use.

    Tip

    Do you see the file ic_launcher.png? This is the file you need to ...

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