设置windowSoftInputMode看看是否有效
解决方案 »
- linearlayout RelativeLayout 性能对比
- YUV420转化为RGB565该怎么修改呢?
- AlertDialog.Builder.create().show()和AlertDialog.Builder.show()有什么区别?
- jar中Activity加载Layout资源问题,求助
- android手机 fregment和activity的问题
- 关于ActivityGroup布局问题
- 有人遇到过某个Layout的背景突然消失变成透明的问题?
- webview显示问题
- sdljava如何安装问题?
- android 如何判断用户是否打开了允许模拟位置选项.不知道该怎样操作,请大神指教。
- 有关android setPixel方法的疑问
- 怎么样在SimpleAdapter加入Content Provider方式查询多媒体文件??
xml代码:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
tools:context=".LoginActivity" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >
<WebView
android:id="@+id/webview"
android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="1" />
</LinearLayout></LinearLayout>
Window flag: hide all screen decorations (such as the status bar) while this window is displayed. This allows the window to use the entire display space for itself -- the status bar will be hidden when an app window with this flag set is on the top layer. A fullscreen window will ignore a value of SOFT_INPUT_ADJUST_RESIZE for the window's softInputMode field; the window will stay fullscreen and will not resize.
是说全屏的时候忽略softinputmode的属性,窗口保持全屏不调整。
就没有其它办法解决了吗?
http://www.cnblogs.com/androidez/archive/2013/04/09/3011399.html
不过我用了没效果