BottomBar icon indicating copy to clipboard operation
BottomBar copied to clipboard

android.view.InflateException: Binary XML file line #137: Binary XML file line #137: Error inflating class com.roughike.bottombar.BottomBar

Open yashagw opened this issue 7 years ago • 0 comments

My xml file

<?xml version="1.0" encoding="utf-8"?>
<tabs>
    <item
        id="@+id/action_home"
        icon="@drawable/ic_home_black_24dp"
        title="Home"
        />
    <item
        id="@+id/action_search"
        icon="@drawable/ic_search_black_24dp"
        title="Search"
        />
    <item
        id="@+id/action_add_tour"
        icon="@drawable/ic_add_box_black_24dp"
        title="Add"
        />
    <item
        id="@+id/action_notification"
        title="Notification"
        icon="@drawable/ic_favorite_black_24dp"
        />

    <item
        id="@+id/action_profile"
        title="Me"
        icon="@drawable/ic_perm_identity_black_24dp"
        />
</tabs>

and the layout file

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/parent"
    android:clickable="true"
    android:focusableInTouchMode="true"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/white"
    android:orientation="vertical"
    tools:context="com.example.yasha.tramemo.activities.ProfileActivity">

    <android.support.v7.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:layout_alignParentStart="true"
        android:layout_alignParentTop="true"
        android:background="?attr/colorPrimary"
        android:contentInsetEnd="0dp"
        android:contentInsetLeft="0dp"
        android:contentInsetRight="0dp"
        android:contentInsetStart="0dp"
        android:elevation="4dp"
        android:minHeight="?attr/actionBarSize"
        android:padding="0dp"
        android:theme="?attr/actionBarTheme"
        app:contentInsetEnd="0dp"
        app:contentInsetLeft="0dp"
        app:contentInsetRight="0dp"
        app:contentInsetStart="0dp"
        app:titleTextColor="@android:color/black">
     
    </android.support.v7.widget.Toolbar>

     <FrameLayout
        android:id="@+id/fragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@+id/view"
        android:layout_alignParentStart="true"
        android:layout_below="@+id/toolbar">

    </FrameLayout>

    <com.roughike.bottombar.BottomBar
        android:id="@+id/bottomBar"
        android:layout_width="match_parent"
        android:layout_height="60dp"
        android:layout_alignParentBottom="true"
        android:background="@color/white"
        app:bb_tabXmlResource="@xml/bottombar_tabs"
       />

</RelativeLayout>



yashagw avatar Jun 12 '17 16:06 yashagw

Please help

yashagw avatar Jun 14 '17 15:06 yashagw

What the hell ??? No help at all

yashagw avatar Jun 15 '17 12:06 yashagw