android.view.InflateException: Binary XML file line #15: Error inflating class com.example.studentjob.CustomSpinner -


i trying create custom spinner in app. through below error.

i unable find out did mistake. please 1 can me out.

thanks, giwit

exception:

e/androidruntime(367): fatal exception: main 03-10 17:54:39.828: e/androidruntime(367): java.lang.runtimeexception: unable start activity componentinfo{com.example.studentjob/com.example.studentjob.mainactivity}: android.view.inflateexception: binary xml file line #15: error inflating class com.example.studentjob.customspinner 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activitythread.performlaunchactivity(activitythread.java:2295) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activitythread.handlelaunchactivity(activitythread.java:2349) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activitythread.access$700(activitythread.java:159) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activitythread$h.handlemessage(activitythread.java:1316) 03-10 17:54:39.828: e/androidruntime(367):  @ android.os.handler.dispatchmessage(handler.java:99) 03-10 17:54:39.828: e/androidruntime(367):  @ android.os.looper.loop(looper.java:137) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activitythread.main(activitythread.java:5419) 03-10 17:54:39.828: e/androidruntime(367):  @ java.lang.reflect.method.invokenative(native method) 03-10 17:54:39.828: e/androidruntime(367):  @ java.lang.reflect.method.invoke(method.java:525) 03-10 17:54:39.828: e/androidruntime(367):  @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:1187) 03-10 17:54:39.828: e/androidruntime(367):  @ com.android.internal.os.zygoteinit.main(zygoteinit.java:1003) 03-10 17:54:39.828: e/androidruntime(367):  @ dalvik.system.nativestart.main(native method) 03-10 17:54:39.828: e/androidruntime(367): caused by: android.view.inflateexception: binary xml file line #15: error inflating class com.example.studentjob.customspinner 03-10 17:54:39.828: e/androidruntime(367):  @ android.view.layoutinflater.createview(layoutinflater.java:626) 03-10 17:54:39.828: e/androidruntime(367):  @ android.view.layoutinflater.createviewfromtag(layoutinflater.java:702) 03-10 17:54:39.828: e/androidruntime(367):  @ android.view.layoutinflater.rinflate(layoutinflater.java:761) 03-10 17:54:39.828: e/androidruntime(367):  @ android.view.layoutinflater.inflate(layoutinflater.java:498) 03-10 17:54:39.828: e/androidruntime(367):  @ android.view.layoutinflater.inflate(layoutinflater.java:398) 03-10 17:54:39.828: e/androidruntime(367):  @ android.view.layoutinflater.inflate(layoutinflater.java:354) 03-10 17:54:39.828: e/androidruntime(367):  @ com.android.internal.policy.impl.phonewindow.setcontentview(phonewindow.java:361) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activity.setcontentview(activity.java:1956) 03-10 17:54:39.828: e/androidruntime(367):  @ com.example.studentjob.mainactivity.oncreate(mainactivity.java:11) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activity.performcreate(activity.java:5372) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1104) 03-10 17:54:39.828: e/androidruntime(367):  @ android.app.activitythread.performlaunchactivity(activitythread.java:2257)    


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -