As explained in http://tools.android.com/tips/non-constant-fields, resource ids are not final (in ADT 14). So a check with switch is broken (see: Android resource IDs suddenly not final, switch()'es broken). However after opening R.java you can see that there are final resources. So, what to use - if or switch? What versions of SDK require if statement? A Lint does not alert if I write
switch (v.getId()) {
case R.id.llBirthday:
...
break;
case R.id.llCity:
...
break;
}