大佬教程收集整理的这篇文章主要介绍了Scrollview没有在Fragment,Android中完全滚动,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
这是xml代码:
<LinearLayout xmlns:android="http://scheR_840_11845@as.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://scheR_840_11845@as.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
希望有人能帮助我,谢谢
以上是大佬教程为你收集整理的Scrollview没有在Fragment,Android中完全滚动全部内容,希望文章能够帮你解决Scrollview没有在Fragment,Android中完全滚动所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。