Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Cutom Frame Renderer

$
0
0

I am developing an application using Xamarin Forms that will target both iOS and Android. One of the pages in the application has a series of questions and answers. These questions and answers should be displayed as a conversation like you would see within a messaging app. I have a Frame control around each of the questions and answers and would like to add a "caret" to the bottom of the frame - either the right side or left side depending on whether it is a question or answer to mimic the bubble text you see in a messaging app.

I have a png of the image that needs to be displayed with the appropriate color and the "caret". I tried creating a custom Frame renderer for iOS which
would render a UIImageView with the png set to the background, but could not get it to size correctly.

Any ideas/suggestions for how to change the background for a Frame control and have it size correctly based on the contents of the frame? Or other
suggestions for how to accomplish this?

Thanks,
Doug


Viewing all articles
Browse latest Browse all 58056

Trending Articles