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

How to layout different UI on different platform use XAML?

$
0
0

I try to do like this:

            <On Platform="Android">
                <Button Text="后台运行权限设置"/>
            </On>

But I got this runtime error:

System.InvalidCastException: 'Specified cast is not valid.'


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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