Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Android pagerenderer background image

$
0
0

Hi,

I have a pagerendere for pages inside my matserdetailpage to set a background image:

var image = Resources.GetDrawable(Resource.Drawable.Background);
((Activity)Context).Window.SetBackgroundDrawable(image);

This code works for normal pages but when the pages are inside a masterdetailpage this code doesnt work. Please help.


Viewing all articles
Browse latest Browse all 58056

Trending Articles