![](/img/trans.png)
[英]Resizing of Layout with Recycler View when the soft keyboard appears
[英]How to hide FragmentTabHost android layout when soft keyboard appears?
當我嘗試在片段中使用搜索( EditText
)時,如何修復選項卡底部的向上移動
我希望選項卡隱藏在鍵盤后面。
您可以在可見鍵盤時隱藏TabLayout
if(keyboardVisible)
tabHost.setVisibility( View.GONE );
else
tabHost.setVisibility( View.VISIBLE );
請參閱此處以檢測鍵盤可見性
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.