另一種看法,我想做出會低於另一種觀點認爲一個視圖,覆蓋太視圖下方,並覆蓋在Android的
我作了如下
<RelativeLayout android:layout_height="wrap_content" android:layout_width="wrap_content">
<include layout="@layout/toolbar" android:id="@+id/tool"
/>
<include layout="@layout/content_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/tool"
android:layout_marginBottom="30dp"
/>
</RelativeLayout>
,但它沒有工作,任何解決方案?
你想實現什麼?爲什麼你需要從另一個'View'中查看? – JonZarate
我不希望視圖隱藏其他,但我只想覆蓋它的一小部分,設計需要這個。 – iosamammohamed
向我們展示設計 – JonZarate