07.01.2013 Views

David Defour - Université de Perpignan

David Defour - Université de Perpignan

David Defour - Université de Perpignan

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XML: Strings File<br />

(res/values/strings.xml)<br />

<br />

<br />

Intent Filters and Activity Switching<br />

<br />

Loan Calculator: Monthly Payments<br />

<br />

Tabbed Windows<br />

Loan amount:&#160;&#160;<br />

Interest rate:&#160;&#160;<br />

Months:&#160;&#160;<br />

Monthly payment:&#160;&#160;<br />

Total payments:&#160;&#160;<br />

<br />

416<br />

jeudi 26 janvier 12<br />

The same prompts are also used in the output display.<br />

Note that &#160; represents a non-breaking space. Regular spaces are not preserved at the beginning and end of strings in Android<br />

resource files. Note also that &nbsp; is not legal here, since that is a character entity specific to HTML, not general in XML.

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

Saved successfully!

Ooh no, something went wrong!