Closed itsvee closed 6 years ago
@itsvee I just tried integrating FolioReader in a fresh new project. Unable to reproduce this issue.
@hrishikesh-kadam Um... let me check again. thanks you
Ok, I found this problem because my project had menu_main.xml in res/menu and your library had menu_main.xml too. It confuse when call menu on navigation bar. 😃
@itsvee So what fix you did? Renamed your menu_main.xml?
Thanks alot @itsvee , Been debugging and de-scoping various sections of my project until i tried your solution (In my case, I actually deleted my mine). I would actually recommend the one in the folioreader gets renamed to .. folio_menu_main.xml or something because its really very difficult to figure out amidst tonnes of menu items and layouts
Kind Regards.
Issue / Feature - When
openBook
called, app crash. FolioReader version - 0.4.4 FolioReader Stock / Modified - Stock Android SDK - 28 Mobile / Tablet / Emulator Info - Google Pixel 2 (mobile) Crash / Error'android.graphics.drawable.Drawable android.view.MenuItem.getIcon()'
Steps to reproduce / Describe in detail
I saw
FolioActivity.java
and checkonCreateOptionsMenu
foundR.id.itemConfig
andR.id.itemTts
was missing. How can I fix it ? Thank you