Navigationsleiste überlappender letzten ListView-Element (Android)

Navigationsleiste überlappender letzten ListView-Element (Android)

Mein problem ist ähnlich wie oben Bild

Bekomme ich dieses Problem in der Nexus-Geräte. Ich fügte Marge von unten, indem man Unteren Navigationsleiste Höhe. Aber meine Anwendung zeigt extra-Marge von unten auf ein Tablett.

Ich nicht wollen, etwas zu ändern in meiner style-Datei.

Code:- 
<android.support.design.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/main_coordinator_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.design.widget.AppBarLayout
        android:id="@+id/clubhouse_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:fitsSystemWindows="true"
        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">

        <android.support.v7.widget.Toolbar
            xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:id="@+id/clubhouse_toolbar_main"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            android:minHeight="?attr/actionBarSize"
            android:background="@android:color/holo_red_dark"
            app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
            app:layout_scrollFlags="scroll|enterAlways">

            <TextView
                             android:id="@+id/toolbar_title"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:textAppearance="@android:style/TextAppearance.Holo.Medium.Inverse"
                android:gravity="center"
                android:singleLine="true"
                android:maxLines="1"
                android:paddingLeft="2dp"
                android:ellipsize="end"
                android:textColor="@color/white"
                />


        </android.support.v7.widget.Toolbar>

    </android.support.design.widget.AppBarLayout>

    <ImageView
        android:id="@+id/iv_view"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/ic_ab_arrowup"/>
    <FrameLayout
        android:id="@+id/drop_down_overlay_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@android:color/white"
        android:layout_marginTop="60dp"
        android:fitsSystemWindows="true"
        app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.CoordinatorLayout>

Den drop_down_overlay_container in das framelayout ist, wo ich bin zeigt mein Fragment.

  • Können Sie die Frage durch die Veröffentlichung weitere details, wie beispielsweise das layout, das Sie verwenden, oder den code?
  • Sry für weniger Informationen.
  • Können Sie uns einen screenshot und markieren Sie die genaue Stelle des Problems
  • Ja sicher, bitte, mein problem ist ähnlich wie oben Bild
  • Danke, ich arbeite dran 🙂 Was ist der test-tablet?
  • versuchen Sie android:fitsSystemWindows="true" von der FrameLayout

InformationsquelleAutor sharma_kunal | 2016-04-23
Schreibe einen Kommentar