-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainView.ux
More file actions
31 lines (27 loc) · 1.06 KB
/
MainView.ux
File metadata and controls
31 lines (27 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<App Model="DoneApp">
<DockPanel>
<iOS.StatusBarConfig Style="Light" />
<StatusBarBackground Dock="Top" Background="#18f" />
<Panel Dock="Top" Height="56" Color="#18f">
<WhileTrue Value="{haveHistory}">
<Panel ux:Name="backButton" Width="56" Alignment="Left" HitTestMode="LocalBounds" Clicked="{onBackButton}">
<AddingAnimation>
<Change backButton.Opacity="0" Duration="0.24" />
</AddingAnimation>
<Text Value="Back" Color="#fff" Alignment="Center" />
</Panel>
</WhileTrue>
<Text Value="{title}" Alignment="Center" Color="#fff" Font="Bold" FontSize="18" />
<Panel Width="56" Alignment="Right" HitTestMode="LocalBounds" Clicked="{onResetButton}">
<Text Value="Reset" Color="#fff" Alignment="Center" />
</Panel>
</Panel>
<BottomBarBackground Dock="Bottom" IncludesKeyboard="false" />
<Navigator Pages="{pages}">
<ControlCenter ux:Template="ControlCenter" />
<ManageTags ux:Template="ManageTags" />
<AddTag ux:Template="AddTag" />
</Navigator>
<OnBackButton Handler="{onBackButton}" />
</DockPanel>
</App>