having difficulties adding new xml to my project
Posted
by yoavstr
on Stack Overflow
See other posts from Stack Overflow
or by yoavstr
Published on 2010-05-23T09:14:35Z
Indexed on
2010/05/23
9:20 UTC
Read the original article
Hit count: 218
android
|android-sdk
when i open a new xxx.xml file it doesnt write to the R.id my new var
example when i write in xml :
<__Button android:text="New Game" android:id="@+id/newGameButton" android:layout_width="wrap_content" android:layout_height="wrap_content"></Button>
(the _ r from this web format boundaries ) in R it should write :
public static final int newGameButton=0x7f050013;
note : this is a xml i added as new to my project should i make something so the eclipse tool will write automatically to the R file?
© Stack Overflow or respective owner