背景に問題があります。背景画像にグラデーションを設定すると、ひどい画像バンディングが発生します。ルート レイアウトで背景を設定するときは、次のようにします。
android:background="@drawable/GradientImage"
また、コードでルート レイアウトの背景を設定しようとしました (axml から背景を削除した後)。
Window.SetFormat(Android.Graphics.Format.Rgbx8888);
Window.AddFlags(Android.Views.WindowManagerFlags.Dither);
BitmapFactory.Options options = new BitmapFactory.Options();
options.InPreferredConfig = Bitmap.Config.Argb8888;
Bitmap gradient = BitmapFactory.DecodeResource(Resources, Resource.Drawable.Background_640,options);
sv.SetBackgroundDrawable(new BitmapDrawable(gradient));
これは OnCreate で行われますが、残念ながら問題は解決しません。
誰もこの問題に遭遇したことがありますか? これを修正する方法はありますか?