android - Error on inflating a view which isn't in the XML file -


i want use view in project. problem that, when use in real project produces below error:

android.view.inflateexception: binary xml file line #15: binary xml file line #15: error inflating class imageview . . @ ir.mirrajabi.persiancalendar.core.fragments.monthfragment.oncreateview(monthfragment.java:39) 

while, when use in sample project works expected.

the strange thing layout (fragment_month) doesn't have imageview. error raises when execution reaches line in monthfragmnet.java:

view view = inflater.inflate(r.layout.fragment_month, container, false); 

any clue appreciated.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -