0
저는 XF 앱을 쓰고 있습니다.WindowSoftInputMode 및 WindowManagerFlags.TranslucentStatus 비 호환성 문제를 해결하는 방법?
Window.AddFlags(WindowManagerFlags.TranslucentStatus);
와
WindowSoftInputMode = SoftInput.AdjustResize
함께 설정하면 작동하지 않습니다.
모두가
android:fitsSystemWindows="true"
을 설정하는 제안하지만 난 곳 안드로이드 프로젝트에 넣어하는 방법을 모르겠어요. 제안?
Btw, 내 xamarin.android 프로젝트에서 xml을 사용하고 있지 않습니다.
은 여기 내 MainActivity처럼 보이는 방법은 다음과 같습니다 사전에
[Activity(Label = "App", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, WindowSoftInputMode = SoftInput.AdjustResize)]
public class MainActivity : FormsApplicationActivity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
Window.AddFlags(WindowManagerFlags.TranslucentStatus);
global::Xamarin.Forms.Forms.Init(this, bundle);
LoadApplication(new App());
}
}
감사합니다.
내 xamarin.android 프로젝트에서 xml을 사용하지 않습니다. – nicks
코드를 입력하십시오. –
편집하십시오. – nicks