Permalink
Browse files

Update : Finish Label update timminggit

  • Loading branch information...
1 parent bc25f81 commit 5bdb3cd5460dae589b66a86f8cbcb764216a3970 @vestige committed Oct 7, 2012
View
@@ -10,14 +10,14 @@ var ground = Ti.UI.createWindow({
var top = Ti.UI.createView({
backgroundColor: '#333',
- height: 100
+ height: '20%'
});
var title = Ti.UI.createLabel({
text: 'toteka timer',
textAlign: 'center',
color: '#ddd',
- height: '120%',
+ font:{fontSize: '100%'},
})
var contents = Ti.UI.createView({
@@ -35,12 +35,13 @@ var qa = Ti.UI.createLabel({
var count = Ti.UI.createLabel({
text: '88:88',
color: '#444',
- font:{fontSize: '200%'},
+ top: 20,
+ font:{fontSize: '250%'},
});
var footer = Ti.UI.createView({
backgroundColor: '#333',
- height: 50
+ height: '10%'
});
var toolview = Ti.UI.createView({
@@ -81,17 +82,17 @@ function date_format(counting) {
disp_time += sec;
console.log(disp_time);
return disp_time;
-}
+};
function update () {
var tmp_time = new Date();
- if (tmp_time.getSeconds() - past_time.getSeconds() >= 1) {
+ if (tmp_time.getSeconds() != past_time.getSeconds()) {
counting -= 1;
if (counting < 0) {
- stop.fireEvent('click');
qa.text = '';
count.text = "Finish";
+ stop.fireEvent('click');
} else {
if (counting == remain) {
contents.backgroundColor = '#777';
@@ -121,7 +122,7 @@ function timerClear(){
qa.text = '';
contents.backgroundColor = '#000';
pause = 0;
-}
+};
clear.addEventListener('click', function (){
timerClear();
@@ -5,7 +5,7 @@ reporting an issue to help us understand your environment, build settings
and aid in debugging. Please attach this log to any issue that you report.
================================================================================
-Starting build at 10/06/12 22:20
+Starting build at 10/07/12 19:03
Build details:
Binary file not shown.
View
@@ -10,14 +10,14 @@ var ground = Ti.UI.createWindow({
var top = Ti.UI.createView({
backgroundColor: '#333',
- height: 100
+ height: '20%'
});
var title = Ti.UI.createLabel({
text: 'toteka timer',
textAlign: 'center',
color: '#ddd',
- height: '120%',
+ font:{fontSize: '100%'},
})
var contents = Ti.UI.createView({
@@ -35,12 +35,13 @@ var qa = Ti.UI.createLabel({
var count = Ti.UI.createLabel({
text: '88:88',
color: '#444',
- font:{fontSize: '200%'},
+ top: 20,
+ font:{fontSize: '250%'},
});
var footer = Ti.UI.createView({
backgroundColor: '#333',
- height: 50
+ height: '10%'
});
var toolview = Ti.UI.createView({
@@ -81,17 +82,17 @@ function date_format(counting) {
disp_time += sec;
console.log(disp_time);
return disp_time;
-}
+};
function update () {
var tmp_time = new Date();
- if (tmp_time.getSeconds() - past_time.getSeconds() >= 1) {
+ if (tmp_time.getSeconds() != past_time.getSeconds()) {
counting -= 1;
if (counting < 0) {
- stop.fireEvent('click');
qa.text = '';
count.text = "Finish";
+ stop.fireEvent('click');
} else {
if (counting == remain) {
contents.backgroundColor = '#777';
@@ -121,7 +122,7 @@ function timerClear(){
qa.text = '';
contents.backgroundColor = '#000';
pause = 0;
-}
+};
clear.addEventListener('click', function (){
timerClear();
@@ -1,10 +1,10 @@
-ts 1349592820000
+ts 1349606178000
Default-Landscape.jpg 36232
Default-Portrait.jpg 28479
Default.jpg 17184
KS_nav_ui.png 1158
KS_nav_views.png 1074
-app.js 2802
+app.js 2824
appicon.png 19109
apple-touch-icon-114x114-precomposed.png 15820
apple-touch-icon-57x57-precomposed.png 6790
View
@@ -2,7 +2,7 @@
<ti:app xmlns:ti="http://ti.appcelerator.org">
<deployment-targets>
<target device="mobileweb">true</target>
- <target device="iphone">true</target>
+ <target device="iphone">false</target>
<target device="ipad">false</target>
<target device="android">false</target>
<target device="blackberry">false</target>

0 comments on commit 5bdb3cd

Please sign in to comment.