On Sep 29, 2011, at 5:37 AM, Rashmi wrote:
> HI, I am looking for answer to second part of the question which is "I want
> to create a theme which I want to inherit from Theme.Light and then add an
> attribute of not having the title bar."
Don't you really want Theme.Light.NoTitleBar.Fullscreen?
http://developer.android.com/reference/android/R.style.html#Theme_Light_NoTitleBar_Fullscreen
> Below is my code that I have used in styles.xml :
> **
I think you forgot to include your Resource\values\whatever.xml file. :-)
This style works for me:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name="MainTheme"
parent="@android:style/Theme.Light.NoTitleBar.Fullscreen">
</style>
</resources>
The "TitleBar" isn't the system menu at the top, it's the app title bar. You
need Fullscreen to remove the system menu. :-)
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid