Skip to content

Commit

Permalink
Quick fix in sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
sthewissen committed Apr 21, 2020
1 parent e49106c commit ba2c955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/Thewissen.PancakeViewSample/Pages/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@
<Slider IsVisible="{OnPlatform Android=false}" Grid.Row="1" Grid.Column="1"
Maximum="1" Minimum="0" Value="{Binding Opacity, Source={x:Reference shadow}}" />

<Label Grid.Row="2" Style="{StaticResource small}" VerticalOptions="Center" Text="Color" />
<Label IsVisible="{OnPlatform Android=false}" Grid.Row="2" Style="{StaticResource small}" VerticalOptions="Center" Text="Color" />

<Button Grid.Row="2" Grid.Column="1" BackgroundColor="{Binding ShadowColor}"
<Button IsVisible="{OnPlatform Android=false}" Grid.Row="2" Grid.Column="1" BackgroundColor="{Binding ShadowColor}"
HorizontalOptions="Center" Text="{Binding ShadowColor, Converter={StaticResource ColorToHexConverter}}"
Style="{StaticResource small_button}" Command="{Binding GenerateRandomShadowColorCommand}" />

Expand All @@ -166,7 +166,7 @@
Offset="{Binding ShadowOffset}" />
</yummy:PancakeView.Shadow>

<Label Text="Color is only supported on Android API 28+. Offset and Opacity is not supported on Android."
<Label Text="Color, Offset and Opacity are currently not supported on Android."
HorizontalOptions="Center" VerticalOptions="Center" TextColor="#000000" />

</yummy:PancakeView>
Expand Down

0 comments on commit ba2c955

Please sign in to comment.