codepath / codepath/android_guides

BottomNavigationView: cannot set actionLayout

Open
#330 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
28.3k
Forks
6.2k
PR merge metrics
No merged PRs in 30d

Description

Hi, i tried to add custom layout as menu item for bottom navigation view, but it isn't showing, i have this:

``

I found one desicion : inflate this layout programmatically and it's working well, but i cant understand how to set title for this, because i have message: "BottomNavigationItemView.setTitle can only be called from within the same library group (groupId=com.android.support). This API has been flagged with a restriction that has not been met."

Thanks)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.