View Single Post
  #2 (permalink)  
Old June 29th, 2010, 02:56 PM
IAmCorbin IAmCorbin is offline
Registered User
 
Join Date: Oct 2009
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

downloaded the book code and found my problem.

Code:
this.margin = myResources.getColor(R.color.notepad_margin);
should be:
Code:
this.margin = myResources.getDimension(R.dimen.notepad_margin);
oops.
Reply With Quote