How to access a View by an ID of the android namespace
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.开发者_如何学C ...? );
So how to access these Views by their ID?
Make shure there is no import android.R...
defined and build your project after altering your layouts.
精彩评论