• Post Reply Bookmark Topic Watch Topic
  • New Topic

NullPointerException in inflating layout

 
Astha Sharma
Ranch Hand
Posts: 250
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm getting NullPointerException in my code when I'm inflating layout.

This is my java code-



grouped_text_view.xml-

This throws NullPointerException in line 1. Please tell me what can be the reason.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!