
这是xml代码:
<linearLayout xmlns:androID="http://schemas.androID.com/apk/res/androID"androID:layout_wIDth="match_parent"androID:layout_height="match_parent"androID:background="#d3d3d3"androID:orIEntation="vertical"><ScrollVIEw xmlns:androID="http://schemas.androID.com/apk/res/androID" androID:layout_wIDth="match_parent" androID:layout_height="match_parent" androID:fillVIEwport="true" > <linearLayout androID:orIEntation="vertical" androID:background="@drawable/bg_sugerir" androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:layout_margintop="10dp" androID:layout_marginleft="10dp" androID:layout_marginRight="10dp" androID:ID="@+ID/linearLayout" > <ImageVIEw androID:layout_wIDth="wrap_content" androID:layout_height="wrap_content" androID:ID="@+ID/imageVIEw" androID:src="@drawable/pd" androID:layout_marginBottom="15dp" /> <EditText androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:ID="@+ID/editText" androID:layout_marginBottom="15dp" androID:hint="Nombre" /> <EditText androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:inputType="phone" androID:ems="10" androID:ID="@+ID/editText2" androID:layout_marginBottom="15dp" androID:hint="Teléfono" /> <EditText androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:ID="@+ID/editText4" androID:layout_marginBottom="15dp" androID:hint="Provincia" /> <EditText androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:ID="@+ID/editText3" androID:layout_marginBottom="15dp" androID:hint="Descripción" /> <button androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:text="Enviar" androID:ID="@+ID/button" /> </linearLayout></ScrollVIEw></linearLayout>
它显示以下内容,但如图所示,按钮不存在:
notScrolling
希望有人能帮助我,谢谢
解决方法 尝试使用androID.support.v4.Widget.nestedScrollVIEw替换ScrollVIEw 总结以上是内存溢出为你收集整理的Scrollview没有在Fragment,Android中完全滚动全部内容,希望文章能够帮你解决Scrollview没有在Fragment,Android中完全滚动所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)