Saturday, May 30, 2009

Yeah! We are on 1.5

The Retriever popped over to upgrade my phone to 1.5. He had nobly sacrificed his Andy to the cause first. Wasn't it sweet of him?

I was devastated when my themes didn't show up in the phone. Tried googling the error and found out that in onCreate(), I have to move the setTheme() above the super.onCreate(), instead of before, where it is like in 1.1:

protected void onCreate(*blah blah*)
setTheme (*blah blah*);
super.onCreate(*blah blah*);
setTheme(*blah blah*);
setContentView(*blah blah*);

No comments:

Post a Comment


Related Posts with Thumbnails