java - Strange behavior of Eclipse IDE -


i have been working on android app. when create project ide works fine create activity still ide works fine. when change background of screen of android project unable access variables textview,buttons etc. actually, ide behave normal before adding background can access variables activity! after add background unable thing access textview. have declared textview as;

              textview t=(textview)findviewbyid(r.id.txt);  

it gives me error variable id in .xml file i.e "txt" (same other components i.e buttons,textfields etc). tried best recover error unable find solution. restarted machine, make project test same thing works fine on adding background gives me error unable detect id! had reinstalled eclipse adt! , more background image adding code is:

  android:background="@drawable/gameboard" 

i want add in new activity. ide working right in morning has happen dont know please me in advance! further info: can give any


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -