locked
Image in Frame RRS feed

  • Question

  • User382401 posted

    I have problem in show img un frame in Android device

    <Frame WidthRequest="20" HeightRequest="20" BackgroundColor="AliceBlue"> <Image Source="***"></Image> </Frame>

    its work in ios

    Monday, December 28, 2020 10:41 PM

Answers

  • User379860 posted

    @KKA I put your code in my project, it worked as normal. Just the size of image is small.

    If you do not set WidthRequest="20" HeightRequest="20", it works as normal.

    If you still cannot see the image, could you provide a demo for this issue?

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, December 29, 2020 1:30 AM

All replies

  • User382401 posted

    < Frame WidthRequest="20" HeightRequest="20" BackgroundColor="AliceBlue"> < Image Source="*">

    Monday, December 28, 2020 10:42 PM
  • User379860 posted

    @KKA I put your code in my project, it worked as normal. Just the size of image is small.

    If you do not set WidthRequest="20" HeightRequest="20", it works as normal.

    If you still cannot see the image, could you provide a demo for this issue?

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, December 29, 2020 1:30 AM
  • User382401 posted

    it's work, the problem was to clean the resource file and add the images

    Wednesday, December 30, 2020 1:46 AM