• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sam liya
Ranch Hand
Posts: 1243
  • 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic