這是我的android xml源代碼,用於地圖 - 底欄佈局。我在屏幕上顯示一個巨大的地圖,我需要在屏幕底部有一個30dp高的佈局來顯示一些像圖像一樣的選項卡。我如何將水平線性佈局推到頁面底部?Android中的底欄佈局
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height=" what here ? "
android:layout_width="fill_parent"
android:orientation="vertical">
<com.google.android.maps.MapView
android:id="@+id/map_view"
Map goes here. Almost full screen. Exactly full - 30dp;
/>
<LinearLayout>
I want 3 images here. Bottom of the screen.
</LinearLayout>
</RelativeLayout>
看到這一點:http://stackoverflow.com/questions/36019986/which-view-should-be-used-for-new-material-design-bottom-導航/ 42119958#42119958 – Fartab 2017-02-08 17:48:54