我已经在我的代码中使用了TapGoutureRecognizer for stacklayout和grid,当点击它时,除了三星S6 galaxy之外,它在其他设备中正常工作。双击它可以正常工作。
代码段:
select a1.x, b.z
from
tableA a1
join tableB b on ...
where not exists (
select null
from tablea a2
where a1.id = a2.x and a2.ytime is not null
)
使用Xamarin Forms- 2.4.0.282版本。你能帮我解决这个问题吗?
此致
基兰
答案 0 :(得分:0)
<StackLayout Grid.Column="2" Orientation="Vertical" VerticalOptions="**FillAndExpand**" **HorizontalOptions=FillAndExpand** WidthRequest="132">
<StackLayout.GestureRecognizers>
<TapGestureRecognizer Tapped="shelfOption_Tapped"/>
</StackLayout.GestureRecognizers>
</StackLayout>
Make VerticalOptions=FillAndExpand, **HorizontalOptions=FillAndExpand** and try