Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

null pointer exception when i add style to my layout xml file  RSS feed

 
sam liya
Ranch Hand
Posts: 1264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
below is my xml file



below is the java class


but when i change the my xml file first part as below(Add the style " android:background="@style/page_background_wh") it give me exception



below is exception

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!