Skip to content

Commit 349b677

Browse files
vertical align not list type views
1 parent 8b0a1bd commit 349b677

File tree

6 files changed

+58
-43
lines changed

6 files changed

+58
-43
lines changed

app/styles/countdown.tss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
}
2828
"#countdown" : {
2929
width: "100%",
30+
height: Ti.UI.SIZE,
3031
}
3132
"#drupalday" : {
3233
width: Ti.UI.SIZE,

app/styles/favorites.tss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,6 @@
7777
color : Alloy.CFG.colors.first,
7878
textAlign : "center"
7979
}
80+
"#nofavorites" : {
81+
height: Ti.UI.SIZE
82+
}

app/styles/index.tss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@
8080
top: "30dp"
8181
}
8282
"#container" : {
83-
backgroundColor: Alloy.CFG.colors.third,
84-
backgroundImage: "/images/background.png",
85-
backgroundRepeat: true
83+
height:Ti.UI.FILL,
8684
}
8785
"#wrapperContainer" : {
8886
width: "100%",
87+
backgroundColor: Alloy.CFG.colors.third,
88+
backgroundImage: "/images/background.png",
89+
backgroundRepeat: true
8990
}
9091
"#menuButton":{
9192
image: '/images/menu.png',

app/views/countdown.xml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<Alloy>
2-
<View id="countdown" layout="vertical">
3-
<ImageView id="logoCountdown"></ImageView>
4-
<Label id="time"></Label>
5-
<View layout="horizontal" id="drupalday" >
6-
<Label id="drupal">DRUPAL</Label>
7-
<Label id="day">DAY</Label>
2+
<View id="countdownWrapper" layout="absolute">
3+
<View id="countdown" layout="vertical">
4+
<ImageView id="logoCountdown"></ImageView>
5+
<Label id="time"></Label>
6+
<View layout="horizontal" id="drupalday" >
7+
<Label id="drupal">DRUPAL</Label>
8+
<Label id="day">DAY</Label>
9+
</View>
10+
<Label id="location">MILANO</Label>
11+
<Label id="date">14-15 NOVEMBRE 2014</Label>
12+
<Label id="address">Università degli Studi\ndi Milano-Bicocca</Label>
13+
<View id="social" layout="horizontal">
14+
<ImageView class="socialLink" image="/images/facebook.png" onClick="openUrl" url="http://www.facebook.com/drupalday"></ImageView>
15+
<ImageView class="socialLink" image="/images/twitter.png" onClick="openUrl" url="https://twitter.com/drupalday"></ImageView>
16+
<ImageView class="socialLink" image="/images/vimeo.png" onClick="openUrl" url="http://vimeo.com/drupaldayitaly"></ImageView>
17+
</View>
18+
<Label class="hashtag">#drupalday</Label>
19+
<Label class="hashtag">#dday2014</Label>
820
</View>
9-
<Label id="location">MILANO</Label>
10-
<Label id="date">14-15 NOVEMBRE 2014</Label>
11-
<Label id="address">Università degli Studi\ndi Milano-Bicocca</Label>
12-
<View id="social" layout="horizontal">
13-
<ImageView class="socialLink" image="/images/facebook.png" onClick="openUrl" url="http://www.facebook.com/drupalday"></ImageView>
14-
<ImageView class="socialLink" image="/images/twitter.png" onClick="openUrl" url="https://twitter.com/drupalday"></ImageView>
15-
<ImageView class="socialLink" image="/images/vimeo.png" onClick="openUrl" url="http://vimeo.com/drupaldayitaly"></ImageView>
16-
</View>
17-
<Label class="hashtag">#drupalday</Label>
18-
<Label class="hashtag">#dday2014</Label>
1921
</View>
2022
</Alloy>

app/views/index.xml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Alloy>
22
<Window class="container" layout="absolute" exitOnClose="true" navBarHidden="true">
3-
<View id="container" layout="vertical">
3+
<View id="globalContainer" layout="vertical">
44
<View id="header">
55
<ImageView id="menuButton"></ImageView>
66
<Label id="headerTitle">DRUPALDAY 2014</Label>
@@ -13,15 +13,17 @@
1313
<Require type="widget" src="com.morpheus.sliderMenu" id="SliderMenuContainer"></Require>
1414
</View>
1515
</View>
16-
<View id="loading" layout="vertical">
17-
<ImageView id="drupaldaylogo"></ImageView>
18-
<ImageView id="drupalday"></ImageView>
19-
<Label id="loadingText">CARICAMENTO DATI</Label>
20-
<ImageView id="dataLoader"></ImageView>
21-
<View id="logos" layout="horizontal">
22-
<ImageView id="wellnet"></ImageView>
23-
<ImageView id="twinbit"></ImageView>
24-
<ImageView id="bmeme"></ImageView>
16+
<View id="loading" layout="absolute">
17+
<View layout="vertical" height = "Ti.UI.SIZE">
18+
<ImageView id="drupaldaylogo"></ImageView>
19+
<ImageView id="drupalday"></ImageView>
20+
<Label id="loadingText">CARICAMENTO DATI</Label>
21+
<ImageView id="dataLoader"></ImageView>
22+
<View id="logos" layout="horizontal">
23+
<ImageView id="wellnet"></ImageView>
24+
<ImageView id="twinbit"></ImageView>
25+
<ImageView id="bmeme"></ImageView>
26+
</View>
2527
</View>
2628
</View>
2729
</Window>

app/views/live.xml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,28 @@
22
<View id="live" layout="absolute">
33
<View id="schedule_live" layout="vertical">
44
</View>
5-
<View id="conference" layout="vertical" visible="false">
6-
<ImageView image="/images/conference.png"></ImageView>
7-
<Label>La conference del Drupal Day è finita.</Label>
8-
<Label>Ci vediamo domani per la Formazione ed il Drupal Sprint</Label>
5+
<View id="conference" layout="absolute" visible="false">
6+
<View layout="vertical" height="Ti.UI.SIZE">
7+
<ImageView image="/images/conference.png"></ImageView>
8+
<Label>La conference del Drupal Day è finita.</Label>
9+
<Label>Ci vediamo domani per la Formazione ed il Drupal Sprint</Label>
10+
</View>
911
</View>
10-
<View id="formazione" layout="vertical" visible="false">
11-
<ImageView image="/images/formazione.png"></ImageView>
12-
<Label>Benvenuto alla giornata</Label>
13-
<Label>di Formazione ed al Drupal Sprint</Label>
12+
<View id="formazione" layout="absolute" visible="false">
13+
<View layout="vertical" height="Ti.UI.SIZE">
14+
<ImageView image="/images/formazione.png"></ImageView>
15+
<Label>Benvenuto alla giornata</Label>
16+
<Label>di Formazione ed al Drupal Sprint</Label>
17+
</View>
1418
</View>
15-
<View id="grazie" layout="vertical" visible="false">
16-
<ImageView image="/images/countdown.png"></ImageView>
17-
<Label>Il Drupal Day 2014 si è concluso</Label>
18-
<Label>grazie per aver partecipato.</Label>
19-
<Label>Segui il post Drupal Day su</Label>
20-
<Label onClick="openUrl" url="http://www.drupalday.it" class="link">http://www.drupalday.it</Label>
19+
<View id="grazie" layout="absolute" visible="false">
20+
<View layout="vertical" height="Ti.UI.SIZE">
21+
<ImageView image="/images/countdown.png"></ImageView>
22+
<Label>Il Drupal Day 2014 si è concluso</Label>
23+
<Label>grazie per aver partecipato.</Label>
24+
<Label>Segui il post Drupal Day su</Label>
25+
<Label onClick="openUrl" url="http://www.drupalday.it" class="link">http://www.drupalday.it</Label>
26+
</View>
2127
</View>
2228
</View>
2329
</Alloy>

0 commit comments

Comments
 (0)