android edittext不弹出软键盘
来源:互联网 发布:恶搞身份证软件 编辑:程序博客网 时间:2024/04/30 01:34
<LinearLayout android:layout_width="match_parent" android:layout_height="36dp" android:background="@color/mid_black" android:focusable="true" android:focusableInTouchMode="true" android:orientation="horizontal" android:paddingRight="0dp" android:paddingLeft="10dp" > <EditText android:id="@+id/pitch_search" android:layout_width="0dip" android:layout_height="match_parent" android:layout_margin="5dp" android:layout_weight="1" android:singleLine="true" android:background="@drawable/edit_text_bg" android:paddingLeft="10dp" android:paddingRight="0dp" android:drawableLeft="@drawable/icon_search_update" > </EditText> <Button android:id="@+id/pitch_btn" android:layout_width="wrap_content" android:layout_height="match_parent" android:background="@color/mid_black" android:gravity="center" android:text="确定" android:textColor="#ffffff" android:textSize="@dimen/big_font" /> </LinearLayout>
android:focusable=”true”
android:focusableInTouchMode=”true”
使Edittext所在的父类空间获得焦点,这样,edittext 就不会获得焦点,弹出软键盘了
0 0
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android EditText不自动弹出软键盘
- android设置EditText不弹出软键盘
- android edittext不弹出软键盘
- Android EditText不自动弹出软键盘
- Android EditText不弹出软键盘
- edittext不弹出软键盘
- Edittext不弹出软键盘
- edittext不弹出软键盘
- EditText不弹出软键盘
- android两种方式设置EditText不弹出软键盘
- Android的EditText不弹出软键盘的方法
- android之让EditText不弹出软键盘
- android两种方式设置EditText不弹出软键盘
- maven dependency中scope=compile 和 provided区别
- ACM-I'll play a trick on you
- 嵌入式的我们应该学习哪些电子知识
- 指尖上的艺术——《黑客与画家》
- Maven依赖Scope标签用法
- android edittext不弹出软键盘
- GRE词汇:渗透类词汇
- ACM-sum of all integer numbers
- Android 消息推送(notification) 标题栏icon不显示内容
- Delete Duplicate Emails
- 【JAVA】获取给定长度的随机密码
- AVLTree的C++实现
- 使用msword.olb操作word(6)
- error: Multiple substitutions specified in non-positional format