<LinearLayout
android:id="@+id/linearlayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="vertical" >
.......
.......
</LinearLayout>
现在xml中有一个属性为alignParentBottom的linearlayout现在想用一个view将他顶上去,该怎么做?
在底部的LinearLayout下面再添加一个view呗。反正android:orientation="vertical"。
linearlayout放置在view之上。。。。
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<R......<br/><strong>答案就在这里:</strong><a target='_blank' rel='nofollow' href='http://blog.csdn.net/somatezyc/article/details/7609810'>RelativeLayout布局问题</a><br/>----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?
在LinearLayout下添加一个View,给view添加一个属性 below = @+id/LinearLayout的id.
。。。。。。。。。。。。。。。