Running Note to self in German or Spanish

Run the app to see whether it is working as expected. Now, we can change the localization settings to see it in Spanish. Different devices vary slightly in how to do this, but the Pixel 2 XL emulator can be changed by clicking on the Custom Locale app:

Running Note to self in German or Spanish

Next, select es-ES and then click the SELECT 'ES' button in the bottom-left of the screen, as shown in the next screenshot:

Running Note to self in German or Spanish

Now you can run the app in the usual way. Here is a screenshot showing the app running in Spanish. I have photoshopped a few images side ...

Get Android Programming with Kotlin for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.