Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index.xml:
- <Alloy>
- <Window class="container">
- <Label id="origenLabel" class="label">Origen</Label>
- <TextField id="origenInput" class="input"/>
- <ImageView id="origenIcon" class="icon-input"></ImageView>
- </Window>
- </Alloy>
- index.tss:
- ".container": {
- backgroundColor: 'white',
- navBarHidden: true
- },
- ".label": {
- color: 'darkgrey',
- height: Ti.UI.SIZE,
- left: 10,
- font: {
- fontSize: '22dp'
- },
- width: Ti.UI.SIZE,
- },
- ".input": {
- color: 'darkgrey',
- font: {
- fontSize: '16dp'
- },
- height: '40dp',
- left: 10,
- textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
- width: '250dp'
- },
- ".icon-input": {
- height: '30dp',
- left: 15
- },
- "#origenLabel": {
- top: '50dp'
- },
- "#origenInput": {
- top: '90dp'
- },
- "#origenIcon": {
- image: '/images/plane.png',
- top: '90dp'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement