O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

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

Updating the Strings XML file to include our UI control values

In this section, we will begin by updating the Android Strings.xml file, which will be used by our application. Strings.xml is essentially a single file that you can use to declare the various strings your application requires; every string that you define must contain a unique ID, so you can reference the ID in your code to use that string.

Let's start by updating the Strings.xml file for our PhotoLibrary app by performing the following steps:

  1. Expand the Resources | values folder in the PhotoLibrary solution, as shown in the following screenshot:
Contents of the Strings.xml ...

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