Derzeit habe ich eine transparente Symbolleiste mit Schubladenlayout. Es ist in einem Rahmenlayout positioniert, so dass die Schublade von der Werkzeugleiste überlappt wird, aber ich möchte, dass sie darunter ist.Transparente Werkzeugleiste mit Schubladenlayout
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<!-- Framelayout to display Fragments -->
<FrameLayout
android:id="@+id/frame_container"
android:layout_width="match_parent"
android:layout_height="match_parent"></FrameLayout>
<!-- Listview to display slider menu -->
<ListView
android:id="@+id/list_slidermenu"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:choiceMode="singleChoice"
android:divider="@color/list_divider"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_selector"
android:background="@color/list_background"/>
</android.support.v4.widget.DrawerLayout>
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
android:background="@color/tb_background"
app:theme="@style/TransparentToolbar"
app:titleTextAppearance="@style/Toolbar.TitleText"
>
</android.support.v7.widget.Toolbar>
</FrameLayout>
Wie kann ich es so transparent Symbolleiste machen drawerlayout nicht überschneiden?
add Screenshot bitte? – xFighter
Ich möchte es so machen, dass die Symbolleiste nicht die Schublade Layout überlappt – user7346168
Fügen Sie einen Screenshot – xFighter