2016-09-23 77 views
-1

我無法弄清楚爲什麼以及如何阻止線性佈局重疊導航欄的生活。我熟悉Android Studio,不是版本2+。線性佈局重疊導航條

這個問題從來不是一個問題,我嘗試過多次搜索並試圖解決這個問題。 (以下屏幕截圖)。

Nav bar overlapped by layout

+2

發佈您的代碼.. – anonymous

回答

0

content_main.xml文件中把這個在您的LinearLayout代碼。

android:layout_width="match_parent" 
android:layout_height="match_parent" 
0

在你LinearLayout集填充頂部50dp

android:paddingTop="50dp" 
0
android:layout_width="match_parent" 
android:layout_height="match_parent" 
android:layout_marginTop="20dp" 
android:layout_marginBottom="20dp" 

您可以根據佈局位置改變邊距值。