你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
搜索问题、话题或人...
输入关键字进行搜索
搜索:
问题
精选文章
开源项目
视频教程
活动
· · ·
帮助
登录
注册
环信_Android
软键盘弹出遮住了输入框
软键盘弹出将输入框遮住了,设置了getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE|WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);但是输入框死活看不到。
没有找到相关结果
已邀请:
与内容相关的链接
提交
2 个回复
Litchi
这个应该是因为你修改了 EditText 的背景样式导致的,具体怎么让修改之后还能用我还没研究过
Radi_n
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:hyphenate="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:animateLayoutChanges="true" android:background="#f2f0eb" > <com.hyphenate.easeui.widget.EaseTitleBar android:id="@+id/title_bar" android:layout_width="match_parent" android:layout_height="wrap_content" hyphenate:titleBarLeftImage="@drawable/ease_mm_title_back" /> <ScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/title_bar" android:fillViewport="true" android:fitsSystemWindows="true"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" > <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@+id/input_menu" > <com.hyphenate.easeui.widget.EaseChatMessageList android:id="@+id/message_list" android:layout_width="match_parent" android:layout_height="match_parent" /> <com.hyphenate.easeui.widget.EaseVoiceRecorderView android:id="@+id/voice_recorder" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:visibility="invisible" /> </RelativeLayout> <com.hyphenate.easeui.widget.EaseChatInputMenu android:id="@+id/input_menu" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" /> </RelativeLayout> </ScrollView> </RelativeLayout>
要回复问题请先
登录
或
注册
发起人
cbiqih
问题状态
最新活动:
2016-10-09 16:39
浏览:
5225
关注:
3
人
2 个回复
Litchi
Radi_n