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

defining layout of what is returned from RendererFactory.GetRenderer [android]

$
0
0

Hello, i'm developing a very simple templated control that is basically a container of a cell.
Internally i use a linearlayout to host the cell container.
Basically i add or replace the linearlayout child with the result of RendererFactory.GetRenderer().
the linear layout get its size correctly, the inner elements (those returned by GetRenderer (MyCell.View) ) have height=0. thus i cannot see anything in the cell.

Question: what kind of method i need to call or override to get the correct layout of what is contained in the cell?


Viewing all articles
Browse latest Browse all 58056

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>