[mono-android] set theme/style programmatically
Tomasz Cielecki
tomasz at ostebaronen.dk
Thu Jan 5 10:46:55 EST 2012
Yes, in your activity where you set Label and other parameters for it,
you can set the theme.
I.e.:
[Activity(Theme = "@style/Theme.MyAwesomeTheme", Label =
"@string/MyAwesomeActivity")]
public class MyThemedActivity : Activity
{
...
}
On Thu, Jan 5, 2012 at 4:43 PM, Wally McClure
<theevilprogrammer at hotmail.com> wrote:
> Is there anyway to set a theme or style programmatically?
>
> Wally
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
--
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
More information about the Monodroid
mailing list