Saturday, January 25, 2014

findviewbyid not find the controls


            
Suffer brain for a long time, please gurus help me, I am a novice! I can not find the definition of good control findViewById I do not know why. Specific original code as follows:
Under the original layout xml file code:
android: id = "@ + id / mytext"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: layout_centerHorizontal = "true"
android: layout_centerVertical = "true"
tools: context = ". Activity01" />

No comments:

Post a Comment