0
我只知道如何修復RelativeLayout底部的兩個按鈕。但問題是,小顯示屏看不到所有東西,所以我想要有一個滾動佈局,但也需要一個相對佈局,這樣兩個按鈕每次都在顯示屏的底部。有沒有人有一個想法如何實現它? 非常感謝:)ScrollView帶有2個固定在底部的按鈕
我只知道如何修復RelativeLayout底部的兩個按鈕。但問題是,小顯示屏看不到所有東西,所以我想要有一個滾動佈局,但也需要一個相對佈局,這樣兩個按鈕每次都在顯示屏的底部。有沒有人有一個想法如何實現它? 非常感謝:)ScrollView帶有2個固定在底部的按鈕
試試這樣說:
<LinearLayout>
<ScrollLayout>
<RelativeLayout>
Your content here
</RelativeLayout>
</ScrollLayout>
<RelativeLayout>
Your two buttons here
</RelativeLayout>
</LinearLayout>
退房http://stackoverflow.com/questions/17864595/how-do-i-make-my-screen-scrollable-in -Android月食 –