コード例 #1
0
            public WindowInsets OnApplyWindowInsets(View v, WindowInsets insets)
            {
                _insetsListener?.Invoke(this, insets);
                // We need to consume insets here since we will handle them in the Window.Android.cs
#pragma warning disable 618
                return(insets.ConsumeSystemWindowInsets());

#pragma warning restore 618
            }
コード例 #2
0
ファイル: LayoutProvider.Android.cs プロジェクト: jokm1/uno-2
 public WindowInsets OnApplyWindowInsets(View v, WindowInsets insets)
 {
     _insetsListener?.Invoke(this, insets);
     // We need to consume insets here since we will handle them in the Window.Android.cs
     return(insets.ConsumeSystemWindowInsets());
 }