feature: Android renderers
This commit is contained in:
@ -17,7 +17,14 @@ namespace Pixiview.Droid.Renderers
|
||||
{
|
||||
base.OnElementChanged(e);
|
||||
|
||||
SetBackgroundColor(Color.Black.MultiplyAlpha(.92).ToAndroid());
|
||||
if (e.NewElement != null)
|
||||
{
|
||||
var color = e.NewElement.BackgroundColor;
|
||||
if (!color.IsDefault)
|
||||
{
|
||||
SetBackgroundColor(color.MultiplyAlpha(.94).ToAndroid());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user