Edit
Based on running it on device it seems Background
property is not completely implemented at the moment (11.11.2015). My trial and error approach points out that setting Background
through the property is throwing exception that it didn't find the setBackground
method with appropriate arguments. So the issue is not with the new way of getting the drawables but when you try to set them. Maybe I'm misusing this so I'm open for corrections.
//Works
yesButton.SetBackgroundDrawable(ContextCompat.GetDrawable(context, Resource.Drawable.selector_green_button));
//Works
yesButton.SetBackgroundDrawable(ResourcesCompat.GetDrawable(Resources, Resource.Drawable.selector_green_button, Resources.NewTheme()));
//Doesn't Work
yesButton.Background = ResourcesCompat.GetDrawable(Resources, Resource.Drawable.selector_green_button, Resources.NewTheme());
//Doesn't Work
yesButton.Background = ContextCompat.GetDrawable(context, Resource.Drawable.selector_green_button);
//Doesn't Work
yesButton.Background = Resources.GetDrawable(Resource.Drawable.selector_green_button);
Original Answer
You can use the Background property as @Jason Suggested already.
In order to use that you'll need to get the Drawable now the funny part:
GetDrawable
method is deprecated (since API 22 i think) so you should be using :
someControl.Background = ContextCompat.GetDrawable(context, Resource.Drawable.your_drawable);
instead of Resources.GetDrawable(Resource.Drawable.your_drawable);
Found this link for reference: More info on getting drawables in Android native