Android ScrollView没有';无法在横向模式下正常工作
我的xml代码-->>Android ScrollView没有';无法在横向模式下正常工作,android,xml,android-scrollview,Android,Xml,Android Scrollview,我的xml代码-->> 当应用程序处于纵向模式时,scrollView可以正常工作,但当应用程序处于横向模式时,scrollView可以工作,但复位按钮不会像纵向模式一样保持在底部位置。我怎样才能解决这个问题? 此外,RelativeLayout的属性layout_height=“match_parent”会显示一条警告,指出它应该是包装内容。帮我解决这个问题??我是新手。ScrollView与RelativeLayout不兼容,请使用 <Scrollview> <
当应用程序处于纵向模式时,scrollView可以正常工作,但当应用程序处于横向模式时,scrollView可以工作,但复位按钮不会像纵向模式一样保持在底部位置。我怎样才能解决这个问题?
此外,RelativeLayout的属性layout_height=“match_parent”会显示一条警告,指出它应该是包装内容。帮我解决这个问题??我是新手。
ScrollView
与RelativeLayout
不兼容,请使用
<Scrollview>
<LinearLayout>
<RelativeLayout>
**everything else**
</RelativeLayout>
<Button .. />
</LinearLayout>
</Scrollview>
**其他一切**
在横向模式下,重置按钮的位置与纵向模式下的位置不同。
<Scrollview>
<LinearLayout>
<RelativeLayout>
**everything else**
</RelativeLayout>
<Button .. />
</LinearLayout>
</Scrollview>