— 28th January 2009
This was one of a series of posts I wrote on a short lived android dev blog I had during a period where I did a tiny bit of android app development.
This is the first thing you need to know. Chances are you have got something in your layout XML that you want to change in some way. First you need to get hold of it! The function findViewById is your friend here. Just remember to give the thing an id in your XML file. This seems to be the way to do that: android:id="@+id/fish". The important bit, as far as I can work out right now is the + sign in there. It seems to mean "if you don't know about this already that’s cool, just create it!" which doesn't make a huge amount of sense to me yet - but it works.