Changes

Jump to: navigation, search
no edit summary
2.5. Change the ''TextView'' Properties:<br/>
- Change the ''Text'' property: Set value to "Type Contact Name"<br/>OR add the new line to the <code>string.xml</code> file :
<presource lang="java">
<string name="edittext">Type Contact Name</string>
</presource>
and in the ''text'' property browse to <code>edittext</code> string resource<br/>
- set ''Layout weight'' to "1"<br/>
[[Image: A_Main3.png | 350px]]<br/>
2.6. Drag and drop '''Button''' into the linear layout. Set the button text by adding a new line to <code>string.xml</code>
<presource lang="java">
<string name="button_search">Search</string>
</presource>
2.7. Set the Text property to use this string resource.<br/>
2.8. Drag and drop '''ListView''' (''Palette -> Composite'') into the main screen and set the ''layout height'' property to <code>match_parent</code><br/>
2.9. The main screen should look as follows:<br/>
[[Image: A_Main4.png | 300px]]
1
edit

Navigation menu