I'm trying to overlay text onto an image and have the image fill the width of the screen. In order to overlay the text I use a RelativeLayout, by doing so the image's Aspect is no longer applied and doesn't stretch to the full width of the device. I can't seem to find a way to get the RelativeLayout to stretch its width either. Would a grid work better?
<RelativeLayout> <Image Source="officeproducts.png" Aspect="AspectFill"></Image> <Label TranslationX="20" TranslationY="100" FontSize="13" TextColor="White" Text="Get fast, free shipping." /> </RelativeLayout>