'Error inflating class com.iammert.library.readablebottombar.ReadableBottomBar

I'm using ReadableBottomBar library in my project and I have created XML folder for tabs and I have inflated bottom bar in my layout as you see in pictures:

enter image description here

enter image description here

but unfortunately I get this error enter image description here

how can I solve this problem ?



Solution 1:[1]

Changing the hardcoded strings in tabs.xml to string resources fixed my problem.enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ouflak