<tfoot id='MFvEA'></tfoot>

    • <bdo id='MFvEA'></bdo><ul id='MFvEA'></ul>

    <small id='MFvEA'></small><noframes id='MFvEA'>

      <legend id='MFvEA'><style id='MFvEA'><dir id='MFvEA'><q id='MFvEA'></q></dir></style></legend>
    1. <i id='MFvEA'><tr id='MFvEA'><dt id='MFvEA'><q id='MFvEA'><span id='MFvEA'><b id='MFvEA'><form id='MFvEA'><ins id='MFvEA'></ins><ul id='MFvEA'></ul><sub id='MFvEA'></sub></form><legend id='MFvEA'></legend><bdo id='MFvEA'><pre id='MFvEA'><center id='MFvEA'></center></pre></bdo></b><th id='MFvEA'></th></span></q></dt></tr></i><div id='MFvEA'><tfoot id='MFvEA'></tfoot><dl id='MFvEA'><fieldset id='MFvEA'></fieldset></dl></div>
    2. 点击按钮后 sendUserActionEvent() mView== null

      时间:2023-08-31
      • <bdo id='WqzBf'></bdo><ul id='WqzBf'></ul>

            <legend id='WqzBf'><style id='WqzBf'><dir id='WqzBf'><q id='WqzBf'></q></dir></style></legend>
              <tbody id='WqzBf'></tbody>
              • <tfoot id='WqzBf'></tfoot>

                <small id='WqzBf'></small><noframes id='WqzBf'>

                <i id='WqzBf'><tr id='WqzBf'><dt id='WqzBf'><q id='WqzBf'><span id='WqzBf'><b id='WqzBf'><form id='WqzBf'><ins id='WqzBf'></ins><ul id='WqzBf'></ul><sub id='WqzBf'></sub></form><legend id='WqzBf'></legend><bdo id='WqzBf'><pre id='WqzBf'><center id='WqzBf'></center></pre></bdo></b><th id='WqzBf'></th></span></q></dt></tr></i><div id='WqzBf'><tfoot id='WqzBf'></tfoot><dl id='WqzBf'><fieldset id='WqzBf'></fieldset></dl></div>
                本文介绍了点击按钮后 sendUserActionEvent() mView== null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我已经检查了这个 链接,但其中提到了长点击.但我在点击自定义对话框的按钮后面临这个问题.我已经把我的代码贴在这里了.谁能帮我避免这个错误.

                I have checked with this link but there its mentioned about long clicks. but I am facing this after clicking on button of custom dialog. I have pasted my code over here. can anyone help me to avoid this error.

                  ibtnCancel.setOnClickListener(new OnClickListener() {
                
                        @Override
                        public void onClick(View v) {
                            Log.w("DemoDvicetracker", etConfirmPassword
                                .getText().toString());
                            InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
                            imm.hideSoftInputFromWindow(
                                etConfirmPassword.getWindowToken(), 0);
                
                            passwordPopup.dismiss();
                
                        }
                        });
                

                <?xml version="1.0" encoding="utf-8"?>
                <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                
                android:id="@+id/rel"
                android:layout_width="fill_parent"
                android:layout_height="200dp"
                android:background="@drawable/popup_bg" >
                
                <TextView
                    android:id="@+id/txt_enter_pwd"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:gravity="center_horizontal"
                    android:text="@string/enter_pwd"
                    android:textSize="24sp"
                    android:textColor="@android:color/black" />
                
                <EditText
                    android:id="@+id/et_password"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_below="@+id/txt_enter_pwd"
                    android:hint="@string/pwd" 
                    android:background="@drawable/popup_textfeild"
                    android:layout_marginTop="30dp"
                    android:layout_marginLeft="15dp"
                    android:layout_marginRight="15dp"
                    android:inputType="textPassword"/>
                
                <LinearLayout
                    android:layout_width="fill_parent"
                    android:layout_height="60dip"
                    android:layout_alignParentBottom="true"
                    android:layout_below="@+id/et_password"
                    android:gravity="bottom"
                    android:orientation="horizontal" >
                
                    <ImageButton
                        android:id="@+id/ibtn_dialog_cancel"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:background="@drawable/popup_cancel_selector" 
                        android:contentDescription="@string/cancel"/>
                
                    <ImageButton
                        android:id="@+id/ibtn_dialog_submit"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="0dp"
                        android:layout_weight="1"
                        android:background="@drawable/popup_submit_selector" 
                        android:contentDescription="@string/submit"/>
                </LinearLayout>
                

                推荐答案

                这不是你代码的问题,而是S4安卓版本的问题.在 stackoverflow 上也提出了同样的问题:sendUserActionEvent() is null

                this is not a problem related to your code, but related to S4 android version. Same question has been posed on stackoverflow : sendUserActionEvent() is null

                所以,请忽略它;)

                这篇关于点击按钮后 sendUserActionEvent() mView== null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:向Android中的AlertDialog添加垂直滚动条? 下一篇:“FLAG_BLUR_BEHIND"的替代方案在安卓?

                相关文章

                最新文章

              • <legend id='0fT7c'><style id='0fT7c'><dir id='0fT7c'><q id='0fT7c'></q></dir></style></legend>

                <tfoot id='0fT7c'></tfoot>

                • <bdo id='0fT7c'></bdo><ul id='0fT7c'></ul>

                  <small id='0fT7c'></small><noframes id='0fT7c'>

                  1. <i id='0fT7c'><tr id='0fT7c'><dt id='0fT7c'><q id='0fT7c'><span id='0fT7c'><b id='0fT7c'><form id='0fT7c'><ins id='0fT7c'></ins><ul id='0fT7c'></ul><sub id='0fT7c'></sub></form><legend id='0fT7c'></legend><bdo id='0fT7c'><pre id='0fT7c'><center id='0fT7c'></center></pre></bdo></b><th id='0fT7c'></th></span></q></dt></tr></i><div id='0fT7c'><tfoot id='0fT7c'></tfoot><dl id='0fT7c'><fieldset id='0fT7c'></fieldset></dl></div>