You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ACTIVITY
final NavigationTabBar navigationTabBar = (NavigationTabBar) findViewById(R.id.ntb);
final ArrayList<NavigationTabBar.Model> models = new ArrayList<>();
Seem NavigationTabBar not show badge if have RelativeLayout is root layout of xml. You can try again with LinearLayout or CoordinatorLayout. :) You can see effect directly badge show in Preview in Android studio if change it to LinearLayout.
LAYOUT XML
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Anagrafica"
android:background="@color/light_gray">
</android.support.v4.widget.DrawerLayout>
ACTIVITY
final NavigationTabBar navigationTabBar = (NavigationTabBar) findViewById(R.id.ntb);
final ArrayList<NavigationTabBar.Model> models = new ArrayList<>();
The text was updated successfully, but these errors were encountered: