文档开发者中心
我的

再次点击文本框时, 输入法覆盖该文本框

手机型号 : HUAWEI GRA-CL00
版本号 : GRA-CL00C92B370
系统版本号 : EMUI 系统 4.0.2
Android 版本 : 6.0

首次点击 EditText 文本框, 输入法正常弹出, 并依附在文本框下面. 隐藏输入法, 再次点击该文本框, 输入法弹出, 但是覆盖文本框.

其他手机其他型号没有改问题.

望有知道的朋友指点一下,  万分感激.
(本来有视频展示, 但是不能发表链接= _=)

Activity 配置 :
    android:name=".function.register.RegisterActivity"
    android:screenOrientation="portrait"
    android:windowSoftInputMode="adjustPan"/>

布局是使用  NestedScrollView    嵌套    ConstraintLayout   加若干子 View

EditText 配置 :
    android:id="@+id/et_recommender"
    android:layout_width="0dp"
    android:layout_height="47dp"
    android:layout_marginLeft="10dp"
    android:layout_marginRight="@dimen/margin_30px"
    android:background="@android:color/white"
    android:gravity="center_vertical|right"
    android:hint="@string/input_recommender_phone_number"
    android:inputType="number"
    android:singleLine="true"
    android:textColor="@color/register_et_textcolror"
    android:textSize="@dimen/text_size_sp_14"
    app:layout_constraintLeft_toRightOf="@id/tv_recommender"
    app:layout_constraintRight_toRightOf="parent"
    app:layout_constraintTop_toTopOf="@id/tv_recommender"/>

联系方式
wugong52531@gmail.com









点赞
收藏
回复
分享
举报
浏览1075 发布于2017-11-28 06:33未知归属地
全部评论
最多点赞
最新发布
最早发布
暂无评论
暂无评论
写回答
新增插入模板功能
一键使用模板,快速填写内容,轻松发帖~
知道了
  • 为了保障您的信息安全,请勿上传您的敏感个人信息(如您的密码等信息)和您的敏感资产信息(如关键源代码、签名私钥、调试安装包、业务日志等信息),且您需自行承担由此产生的信息泄露等安全风险。
  • 如您发布的内容为转载内容,请注明内容来源。

我要发帖子

了解社区公约,与您携手共创和谐专业的开发者社区。