当我尝试在屏幕底部的EditText中填充某些内容时,中文键盘会隐藏EditText。 我应该如何解决这个问题? 下面是我的xml代码和图片。
public static IHtmlString HrefLangLinks(this PageData currentPage)
{
var hrefLangTags = string.Empty;
var availablePageLanguages = currentPage.ExistingLanguages.Select(culture => culture.Name).ToArray();
var contentLoader = ServiceLocator.Current.GetInstance<IContentLoader>();
var urlResolver = ServiceLocator.Current.GetInstance<UrlResolver>();
foreach (string cultureName in availablePageLanguages)
{
var culturePage = contentLoader.Get<PageData>(currentPage.ContentGuid, new LanguageSelector(cultureName));
var culturePath = urlResolver.GetVirtualPath(culturePage.ContentLink, culturePage.Language.Name);
hrefLangTags += String.Format("<link hreflang=\"{0}\" rel=\"alternate\" href=\"{1}\" >", culturName, culturePath.GetUrl());
}
return new HtmlString(hrefLangTags);
}
以下是我的照片
答案 0 :(得分:0)
从此
<android.support.constraint.ConstraintLayout>
<ScrollView>
<LinearLayout>
<EditText>
</EditText>
</LinearLayout>
</ScrollView>
</android.support.constraint.ConstraintLayout>
对此
<ScrollView>
<LinearLayout>
<EditText>
</EditText>
</LinearLayout>
</ScrollView>