roughike/BottomBar

BottomBar behind navBar

Open

#434 aperta il 24 ago 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Java (1551 fork)batch import
help wantedv2

Metriche repository

Star
 (8411 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Updated 29/08/2016 - layout code

Hi, thanks for your work roughike your update is awesome. I just have a little issue, the bottomBar stay hidden behind the navBar even if i'm not using the "underNavBar" behavior, I would like to put it at the top of the navBar. I tried to use fitsSystemWindows with no success.

Update : The BottomBar is inside a Fragment

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
>
        <com.roughike.bottombar.BottomBar
            android:id="@+id/bottomNavigation"
            android:layout_width="match_parent"
            android:layout_height="60dp"
            android:layout_alignParentBottom="true"
            app:bb_tabXmlResource="@xml/bottom_navigation_tabs"
            app:bb_activeTabColor="@color/colorAccent"
        >
    </com.roughike.bottombar.BottomBar>
</LinearLayout>

bottombarbehindnavbar

Guida contributor