.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,807 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, In below image, you can see that I have placed a text over the image but the text is not clear although I used a Shadow
How can I make it clear like this:
Here is my XAML:
<Border Margin="10,5,10,10" Padding="0" BackgroundColor="Black" HeightRequest="200">
<Border.StrokeShape>
<RoundRectangle CornerRadius="20" StrokeThickness="0" />
</Border.StrokeShape>
<Grid ColumnSpacing="0" RowSpacing="0">
<Image Source="https://elireview.com/wp-content/uploads/2016/12/reed-profile-square.jpg" Aspect="AspectFill" />
<Label Text="{Binding nickname_and_age}" Margin="10" TextColor="#ffffff" FontAttributes="Bold" FontSize="Medium" VerticalOptions="End">
<Label.Shadow>
<Shadow Brush="Black" Offset="20,20" Radius="30" Opacity="0.8" />
</Label.Shadow>
</Label>
</Grid>
</Border>
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more