Currently I don’t get why I am experiencing this error in Android. Hopefully when I study Android’s intricacies further then I will be able to understand the reason behind this error….
Basically, you should call removeView from the parent View first before adding another Child View. Either that or consider designing your code in a different way.
(Update on this blog, after almost a month. I think). Right now I have put down the e-book temporarily because I was so busy during the last weeks but I am meaning to get back on reading The Busy Coder’s Guide to Android Development-3.1.
Right now I can say that the book is a good read from what I have read and browsed so far in the book. It features useful basic API of the Android UI components' functionalities.