Skip to content

Commit

Permalink
Update MainPage.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavAntonyuk authored Nov 26, 2023
1 parent a359190 commit 06d3d57
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions MauiTabView/MainPage.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mauiTabView="clr-namespace:MauiTabView"
Expand Down Expand Up @@ -37,20 +37,8 @@
VerticalOptions="Center">

<Label Text="Carousel + Indicator"
FontSize="20"
FontSize="20"
HorizontalOptions="Center"/>
<IndicatorView x:Name="Indicator"
HorizontalOptions="Center">
<IndicatorView.IndicatorTemplate>
<DataTemplate x:DataType="Tab">
<VerticalStackLayout>
<Image Source="{Binding Icon}" />
<Label Text="1" FontSize="14"/>
<Label Text="{Binding Title}" FontSize="12" />
</VerticalStackLayout>
</DataTemplate>
</IndicatorView.IndicatorTemplate>
</IndicatorView>
<Grid BackgroundColor="LightCoral">
<IndicatorView x:Name="Indicator"
HorizontalOptions="Center"
Expand Down

0 comments on commit 06d3d57

Please sign in to comment.