解决edittext输入多行可以滑动的问题
 
Java代码:  
  1. public class ScrollEditLayout extends ScrollView {
  2. public ScrollEditLayout(Context context) {
  3. super(context);
  4. }
  5. public ScrollEditLayout(Context context, AttributeSet attrs) {
  6. super(context, attrs);
  7. }
  8. public ScrollEditLayout(Context context, AttributeSet attrs, int defStyle) {
  9. super(context, attrs, defStyle);
  10. }
  11. @Override
  12. public boolean onInterceptTouchEvent(MotionEvent ev) {
  13. return false;
  14. }
  15. }
 使用自定义的scrollview包裹editext即可

最新文章

  1. HTML 基础篇
  2. Maven的pom报maven-surefire-plugin:pom:2.12.4
  3. AIX 环境下动态路由
  4. excel中的TEXT函数
  5. Linux Bash Shell 快速入门
  6. buffer busy waits
  7. [AngualrJS + Webpack] Production Source Maps
  8. eclipse中更改默认编码格式
  9. CSS-DOM介绍
  10. 双绞线的制作,T568A线序,T568B线序
  11. Python 学习入门(23)—— 进程
  12. [javascript] postmessage
  13. sed运用
  14. Python编写的Linux邮件发送工具
  15. NOIP2008 立体图
  16. 阿里八八Beta冲刺博客集合贴
  17. 六、编写第一个应用【外部nodejs调用】
  18. 前端 HTML form表单标签 textarea标签 多行文本
  19. 排名前10的vue前端UI框架框架值得你掌握
  20. SpringdataJpa的官方API学习

热门文章

  1. 【BZOJ1010】【HNOI2008】玩具装箱
  2. 【NOIP2013】货车运输
  3. python设置字体颜色
  4. 论文笔记之:Decoupled Deep Neural Network for Semi-supervised Semantic Segmentation
  5. BufferedInputStream/BufferedOutputStream复制文件
  6. C#中正则表达式的使用
  7. QQ登入(4)QQ分享-内容转载
  8. Linux服务器上监控网络带宽的18个常用命令(转)
  9. 解决tomcat一闪而过问题
  10. 分巧克力【来源:CSDN线上编程挑战赛】——递归,费波那奇数列,迭代