07.01.2013 Views

David Defour - Université de Perpignan

David Defour - Université de Perpignan

David Defour - Université de Perpignan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

jeudi 26 janvier 12<br />

LAYOUT DU PROJET<br />

Refers to layout <strong>de</strong>fined in res/layout/main.xml with<br />

R.layout.main.<br />

Refers to strings <strong>de</strong>fined in res/values/strings.xml with<br />

getString(R.string.string_name)<br />

Defines screen layout and GUI controls. Optionally assigns event<br />

handlers to controls.<br />

Refers to strings <strong>de</strong>fined in res/values/strings.xml with @string/<br />

string_name<br />

Conventional for main file to be called main.xml, but not required. If it is<br />

foo.xml, then Java uses R.layout.foo. As we will see later, complex apps<br />

have several layout files for different screens.<br />

Defines strings that are either used in GUI controls or that might<br />

change with internationalization.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!