我正在尝试使用具有交错布局的RadListView来使用Web Image Cache加载图像。我的问题是百分比高度(100%)在Android上不起作用。在iOS上工作正常,但在Android上,仅当我将高度设置为固定值(我不需要)时才会显示。
<GridLayout tkExampleTitle tkToggleNavButton>
<RadListView [items]="products">
<ng-template tkListItemTemplate let-item="item">
<WebImage placeholder="~/images/placeholder.png" [src]="item.picture" stretch="fill"></WebImage>
</ng-template>
<ListViewStaggeredLayout tkListViewLayout scrollDirection="Vertical" spanCount="2"></ListViewStaggeredLayout>
</RadListView>
</GridLayout>