Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How to change background color of my app title?


I'm new with android programming and with xamarin. I'm studying the basic instructions and how to use adapters and custom adapters for display custom business object. However I'm also looking for improve my layout and I'm stopped to how to change my background color of my app title (or view title). It's black by default.
Also I'm looking for a good starting point for stuying Android layout.

Thank you and sorry for my English.


  • CheesebaronCheesebaron DKInsider, University mod

    You can generate themes with Android Asset Studio:

    If you are using Support v7 to provide an ActionBar use the AppCompat instead of Holo.

    You can set the Theme of the app in either your AndroidManifest or in your Activity like so:

    <application android:theme="@style/YourThemeName" ...
    [Activity(Label = "MyActivity", Theme = "@style/YourThemeName")]
    public class MyActivity : Activity...
  • Hi
    I have changed the layout background color using below code .


Sign In or Register to comment.