0

I am making android app using Visual Studio with the Xamarin platform. As i read the document the thing I found.

enter image description here.

As we can see there is only three Theme we can create. So my Question is can we set NoActionBar theme to Application as we can set in Android Studio.

Any Help be Appreciated.

Rohit Vipin Mathews
  • 11,629
  • 15
  • 57
  • 112
Harshad Pansuriya
  • 20,189
  • 8
  • 67
  • 95

2 Answers2

3

You can use Theme with no Action bar in your app. For ex, you can specify Application Attribute in Properties\AssemblyInfo.cs:

[assembly: Application(Icon = "@drawable/Icon" Theme = "@android:Theme.Holo.Light.NoActionBar")]

Or set it in AndroidManifaset.xml

<application android:theme="@android:style/Theme.Holo.Light.NoActionBar" />

If that does not work, create a style with no action bar, like it's mentioned in here: https://stackoverflow.com/a/14061826/85606

Community
  • 1
  • 1
Prashant Cholachagudda
  • 13,012
  • 23
  • 97
  • 162
0

No actionbar with styles

<style name="NoActionBar" parent="@android:style/Theme.Holo.Light.NoActionBar">

 </style>