iterating through a View's components the following code works:
if (child.getClass() == EditText.class) {
  ...
} else if (child.getClass() == TextView.class) {
  ...
but this doesn't:
} else if (child.getClass() == Spinner.class) {
  ...
What's the difference between the Spinner class an the other two ?
My mistake ... I was previousy checking if it was a ViewGroup object so It never reached the condition
Thanks
 
     
     
    