views:

26

answers:

1

alt text

In hierarchy viewer there are several IDs as shown above, for example "id/timepicker_input". But I can't find a respective timepicker_input - ID when typing

myNumberPicker.findViewById(android.R.id. ...? );

So how to access these Views by their ID?

A: 

Make shure there is no import android.R... defined and build your project after altering your layouts.

HammerT
Thanks. But there is no import which could affect the ID placeholder in any way. I don't see an id "timepicker_input" in autocompletion.
cody