Reputation: 1
I just know how to fix two buttons at the bottom of RelativeLayout. But the problem is that small displays can not see everything, so I want to have a scrollLayout but also a Relative Layout so the two buttons are at the bottom of the display every time. Does anyone have an idea how to implement it? Thanks very much :)
Upvotes: 0
Views: 635
Reputation: 156
Try it like this:
<LinearLayout>
<ScrollLayout>
<RelativeLayout>
Your content here
</RelativeLayout>
</ScrollLayout>
<RelativeLayout>
Your two buttons here
</RelativeLayout>
</LinearLayout>
Upvotes: 1