I\'ve seen the Mario live wallpaper uses admob ads in the settings screen, but I haven\'t been able to do it myself. If I put the adview into the settings.xml like you would
You can implement a settings screen in two ways:
I suspect you are adding the AdMob object to an XML file that cannot handle it, and can onlky handle preference items. Please post your XML file, and specify what casting error you are seeing.
If you want ultimate control over the contents of the preferences screen, then implement it yourself as a normal activity, and then you can do anything you want.