Book Image

Xamarin Mobile Application Development for Android, Second Edition

Book Image

Xamarin Mobile Application Development for Android, Second Edition

Overview of this book

Table of Contents (18 chapters)
Xamarin Mobile Application Development for Android Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting the app icon and package name


Xamarin.Android provides a default icon and package name for apps. The icon will be displayed on the Android device's home drawer alongside other application lists, as well as on the action bar at the top of each view.

In order to adjust the defaults for these settings, perform the following steps:

  1. The application icon images are provided in the Assets folder of the code bundle.

  2. Using Finder/Windows Explorer, copy ic_launcher.png from your computer's hard disk to the respective Resources\drawable folders.

  3. From Xamarin Studio, navigate to Resources\drawable, right-click on it, and click on Add Files or alternatively, you can drag and drop the launcher images to the Xamarin Studio Resource/drawable folders.

  4. You should now see ic_launcher.png listed under drawable in the Solution pad.

  5. Select the POIApp project, right-click on it, and click on Options.

  6. Navigate to Build | Android Application.

  7. Change the application name to POIApp. This will cause the resulting APK...