roughike/BottomBar

BottomBar behind navBar

Open

#434 opened on Aug 24, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (1,551 forks)batch import
help wantedv2

Repository metrics

Stars
 (8,411 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide