Can someone point me to a good resource that provides straight forward information on how to create/apply themes and colors to the native android app, please? I am a bit (or a lot) confused here. In VS2015 I can change the background property of a single activity to some color and works and shows in the emulator. But if I select a them (from a long list) in the Designer window the changes are reflected right there.... but when I deploy to the emulator - the changes I saw in the design more are not present in the running app in the emulator. Why? What am I missing?
if you want to apply only a one Activity, use :
[Activity(Label = "Tabs_android", MainLauncher = true, Icon = "@drawable/icon" , Theme = "@style/Theme.DesignDemo")]
but if you want to apply in all project, use:
Example of Theme:
<?xml version="1.0" encoding="utf-8" ?> @android:color/transparent true true @android:color/transparent true true #673AB7 @android:color/transparent #FF4081
Answers
if you want to apply only a one Activity, use :
[Activity(Label = "Tabs_android", MainLauncher = true, Icon = "@drawable/icon" , Theme = "@style/Theme.DesignDemo")]
but if you want to apply in all project, use:
Example of Theme:
<?xml version="1.0" encoding="utf-8" ?> @android:color/transparent true true @android:color/transparent true true #673AB7 @android:color/transparent #FF4081Thank you! SO easy:) I did not know I had to explicitly set an attribute. I thought all I have to do is to pick a theme in the designer.