-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Julio Jimenez <julio@julioj.com>
- Loading branch information
1 parent
c1cdd57
commit 1b5487d
Showing
2 changed files
with
65 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<doc xmlns="https://hyperview.org/hyperview"> | ||
<screen> | ||
<styles> | ||
<style class="body" flex="1" flexDirection="column" /> | ||
<style class="header" borderBottomWidth="1" borderBottomColor="#ccc" /> | ||
<style class="main" margin="24" /> | ||
<style class="h1" fontSize="32" /> | ||
<style class="info" color="blue" /> | ||
</styles> | ||
<body style="body"> | ||
<header style="header"> | ||
<text style="info">My first app</text> | ||
</header> | ||
<view style="main"> | ||
<text style="h1 info">Hello World!</text> | ||
<list> | ||
<item key="item1"> | ||
<text>My first item</text> | ||
</item> | ||
<item key="item2"> | ||
<text>My second item</text> | ||
</item> | ||
</list> | ||
<section-list> | ||
<section> | ||
<section-title> | ||
<text>Appetizers</text> | ||
</section-title> | ||
<item key="1"> | ||
<text>French Fries</text> | ||
</item> | ||
<item key="2"> | ||
<text>Onion Rings</text> | ||
</item> | ||
</section> | ||
<section> | ||
<section-title> | ||
<text>Entrees</text> | ||
</section-title> | ||
<item key="3"> | ||
<text>Burger</text> | ||
</item> | ||
</section> | ||
</section-list> | ||
<image source="/profiles/1.jpg" style="avatar" /> | ||
<image source="./logo.png" style="logo" /> | ||
<text-field | ||
name="first_name" | ||
style="input" | ||
value="Adam" | ||
placeholder="First name" | ||
/> | ||
<select-single name="choice"> | ||
<option value="option1"> | ||
<text>Option 1</text> | ||
</option> | ||
<option value="option2"> | ||
<text>Option 2</text> | ||
</option> | ||
</select-single> | ||
</view> | ||
</body> | ||
</screen> | ||
</doc> |