add toolBar with icon in the App
continuous-integration/drone/push Build is passing Details

pull/11/head^2
Antoine PEREDERII 2 years ago
parent deb5004021
commit 61273c6cee

@ -8,15 +8,39 @@
<TabBar> <TabBar>
<ShellContent <Tab Icon="home.png"
Title="Solde" Title="Compte">
ContentTemplate="{DataTemplate local:BalancePage}"
Route="Views" /> <ShellContent
Title="Solde"
<ShellContent ContentTemplate="{DataTemplate local:BalancePage}"
Title="Help" Route="Views" />
ContentTemplate="{DataTemplate local:HelpPage}"
Route="Views" /> </Tab>
<Tab Icon="transactions.png"
Title="Transactions">
</Tab>
<Tab Icon="help.png"
Title="Aide">
<ShellContent
Title="Help"
ContentTemplate="{DataTemplate local:HelpPage}"
Route="Views" />
</Tab>
<Tab Icon="accounts.png"
Title="Compte">
</Tab>
</TabBar> </TabBar>

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 96 960 960" width="48"><path d="M167 896v-60h130l-15-12q-64-51-93-111t-29-134q0-106 62.5-190.5T387 272v62q-75 29-121 96.5T220 579q0 63 23.5 109.5T307 769l30 21V666h60v230H167Zm407-15v-63q76-29 121-96.5T740 573q0-48-23.5-97.5T655 388l-29-26v124h-60V256h230v60H665l15 14q60 56 90 120t30 123q0 106-62 191T574 881Z"/></svg>

Before

Width:  |  Height:  |  Size: 382 B

@ -43,7 +43,8 @@
Margin="0, 75, 0, 0" Margin="0, 75, 0, 0"
MinimumHeightRequest="80" MinimumHeightRequest="80"
WidthRequest="300" WidthRequest="300"
MaximumWidthRequest="400"/> MaximumWidthRequest="400"
Clicked="Send_Clicked"/>
</VerticalStackLayout> </VerticalStackLayout>

@ -10,4 +10,10 @@ public partial class HelpPage : ContentPage
void ContentPage_NavigatedTo(System.Object sender, Microsoft.Maui.Controls.NavigatedToEventArgs e) void ContentPage_NavigatedTo(System.Object sender, Microsoft.Maui.Controls.NavigatedToEventArgs e)
{ {
} }
void Send_Clicked(System.Object sender, System.EventArgs e)
{
await Navigation.PushAsync(new BalancePage());
}
} }

Loading…
Cancel
Save