背景 Editor要素とかあるけど、特定の条件でキーボードを開いたり閉じたりしたいので、ちょっと調べた。なので、メモっておく。 キーボード開く 事前に、フォーカスをキーボード入力したいViewに向けてください。 キーボード入力したいView.Focus(); Android.Views.InputMethods.InputMethodManager manager = (Android.Views.InputMethods.InputMethodManager)Android.App.Application.Context.GetSystemService(Android.Content.Context.InputMethodService); manager.ShowSoftInput(キーボード入力したいView.ToPlatform(キーボード入力したいView.Handler.Ma
![.NET MAUIだってキーボード開きたい!(Android)](https://cdn-ak-scissors.b.st-hatena.com/image/square/3274fbe35339d4b091e2cb5e8738fda075176c96/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fzenn%2Fimage%2Fupload%2Fs--GZ42Tojj--%2Fc_fit%252Cg_north_west%252Cl_text%3Anotosansjp-medium.otf_55%3A.NET%252520MAUI%2525E3%252581%2525A0%2525E3%252581%2525A3%2525E3%252581%2525A6%2525E3%252582%2525AD%2525E3%252583%2525BC%2525E3%252583%25259C%2525E3%252583%2525BC%2525E3%252583%252589%2525E9%252596%25258B%2525E3%252581%25258D%2525E3%252581%25259F%2525E3%252581%252584%2525EF%2525BC%252581%252528Android%252529%252Cw_1010%252Cx_90%252Cy_100%2Fg_south_west%252Cl_text%3Anotosansjp-medium.otf_37%3A%2525E3%252581%2525B7%2525E3%252582%252589%2525E3%252582%252580%2525E3%252582%252589%2525E3%252581%252584%2525E3%252581%252599%252528PlumRice%252529%252Cx_203%252Cy_121%2Fg_south_west%252Ch_90%252Cl_fetch%3AaHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL3plbm4tdXNlci11cGxvYWQvYXZhdGFyLzNiZTA0ODE1OTkuanBlZw%3D%3D%252Cr_max%252Cw_90%252Cx_87%252Cy_95%2Fv1627283836%2Fdefault%2Fog-base-w1200-v2.png)