title: Xamarin forms Shadow on Frame in Android
body: <p>The Frame class in Xamarin Forms is quite limited, and can't allow me to get a shadow behind the Frame. I've made a custom renderer for iOS using this code:</p>
  
  <pre><code>public class RatingInfoFrameRenderer : FrameRenderer
  {
      protected override void OnElementChanged(ElementChangedEventArgs&lt;Frame&gt; e)
      {
          base.OnElementChanged(e);
  
          Layer.BorderColor = UIColor.White.CGColor;
          Layer.CornerRadius = 10;
          Layer.MasksToBounds = false;
          Layer.ShadowOffset = new CGSize(-2, 2);
          Layer.ShadowRadius = 5;
          Layer.ShadowOpacity = 0.4f;
      }
  }
  </code></pre>
  
  <p>Making a similar one on Android is causing me problems, since my knowledge on Android native is kind of limited. Could anyone tell me what to look at, perhaps some good code example? I haven't found anything that looks similar to this.</p>