-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show change date, de/en i18n, save button, code refactoring
- Loading branch information
Showing
57 changed files
with
433 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<resources> | ||
<string name="save">Speichern</string> | ||
<string name="update">man. Update</string> | ||
<string name="title1">Titel der ersten Box</string> | ||
<string name="title2">Titel der zweiten Box</string> | ||
<string name="intro">Die App ruft die Landkreisdaten der RKI Schnittstelle ab.</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<resources> | ||
<string name="save">save</string> | ||
<string name="update">force update</string> | ||
<string name="title1">Title of the first box</string> | ||
<string name="title2">Title of the second box</string> | ||
<string name="intro">The app is fetching the distric data of the RKI API.</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,48 @@ | ||
"Window" : { | ||
backgroundColor: "windowBackgroundColor", | ||
exitOnClose: false | ||
exitOnClose: false, | ||
layout: "vertical" | ||
} | ||
".content" : { | ||
width: 200, | ||
layout: 'vertical', | ||
width: 260, | ||
layout: "vertical", | ||
height: Ti.UI.SIZE, | ||
top: 20 | ||
} | ||
"#view_button_row" : { | ||
height: Ti.UI.SIZE, | ||
width: Ti.UI.SIZE, | ||
layout: "horizontal", | ||
top: 10 | ||
} | ||
"#btn_save" : { | ||
right: 10 | ||
} | ||
".coords" : { | ||
width: Ti.UI.FILL, | ||
height: Ti.UI.SIZE, | ||
layout: "horizontal" | ||
} | ||
".box" : { | ||
width: 120, | ||
height: Ti.UI.SIZE, | ||
layout: "vertical" | ||
} | ||
".box_left" : { | ||
right: 20 | ||
} | ||
"#tf_icon" : { | ||
width: 70 | ||
} | ||
"#lbl_intro" : { | ||
left: 10, | ||
right: 10, | ||
width: Ti.UI.FILL, | ||
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER | ||
} | ||
|
||
"#lbl_virus": { | ||
top: 30, | ||
width: Ti.UI.FILL, | ||
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,41 @@ | ||
<Alloy> | ||
<Window onOpen="onOpen"> | ||
<Label textid="intro" id="lbl_intro"/> | ||
|
||
<ScrollView class="content"> | ||
<Label text="Town 1"/> | ||
<TextField id="tf_town1" onChange="onChange"/> | ||
<Label text="Lat"/> | ||
<TextField id="tf_lat1" onChange="onChange"/> | ||
<Label text="Lon"/> | ||
<TextField id="tf_lon1" onChange="onChange"/> | ||
<Label textid="title1"/> | ||
<TextField id="tf_town1"/> | ||
|
||
<Label text="Town 2" top="30"/> | ||
<TextField id="tf_town2" onChange="onChange"/> | ||
<Label text="Lat"/> | ||
<TextField id="tf_lat2" onChange="onChange"/> | ||
<Label text="Lon"/> | ||
<TextField id="tf_lon2" onChange="onChange"/> | ||
<View class="coords"> | ||
<View class="box box_left"> | ||
<Label text="Lat"/> | ||
<TextField id="tf_lat1"/> | ||
</View> | ||
<View class="box"> | ||
<Label text="Lon"/> | ||
<TextField id="tf_lon1"/> | ||
</View> | ||
</View> | ||
|
||
<Label text="Virus icon" top="30"/> | ||
<TextField id="tf_icon" onChange="onChange"/> | ||
<Label textid="title2" top="30"/> | ||
<TextField id="tf_town2"/> | ||
<View class="coords"> | ||
<View class="box box_left"> | ||
<Label text="Lat"/> | ||
<TextField id="tf_lat2"/> | ||
</View> | ||
<View class="box"> | ||
<Label text="Lon"/> | ||
<TextField id="tf_lon2"/> | ||
</View> | ||
</View> | ||
<Label text="Virus icon" id="lbl_virus"/> | ||
<TextField id="tf_icon"/> | ||
|
||
<Button title="Force Update" onClick="onClickButton"></Button> | ||
<View id="view_button_row"> | ||
<Button id="btn_save" titleid="save" onClick="onClickSave"></Button> | ||
<Button id="btn_force" titleid="update" onClick="onClickUpdate"></Button> | ||
</View> | ||
</ScrollView> | ||
</Window> | ||
</Alloy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TODO: place your license here and we'll include it in the module distribution |
39 changes: 39 additions & 0 deletions
39
app/modules/android/ti.widget/1.0.2/documentation/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<h1>ti.widget Module</h1> | ||
|
||
<h2>Description</h2> | ||
|
||
<p>TODO: Enter your module description here</p> | ||
|
||
<h2>Accessing the ti.widget Module</h2> | ||
|
||
<p>To access this module from JavaScript, you would do the following:</p> | ||
|
||
<pre><code>var ti_widget = require("ti.widget");</code></pre> | ||
|
||
<p>The ti_widget variable is a reference to the Module object.</p> | ||
|
||
<h2>Reference</h2> | ||
|
||
<p>TODO: If your module has an API, you should document | ||
the reference here.</p> | ||
|
||
<h3>ti_widget.function</h3> | ||
|
||
<p>TODO: This is an example of a module function.</p> | ||
|
||
<h3>ti_widget.property</h3> | ||
|
||
<p>TODO: This is an example of a module property.</p> | ||
|
||
<h2>Usage</h2> | ||
|
||
<p>TODO: Enter your usage example here</p> | ||
|
||
<h2>Author</h2> | ||
|
||
<p>TODO: Enter your author name, email and other contact | ||
details you want to share here.</p> | ||
|
||
<h2>License</h2> | ||
|
||
<p>TODO: Enter your license/legal information here.</p> |
Oops, something went wrong.