<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:App;assembly=App.Droid"
x:Class="App.MainPage">
<StackLayout>
<StackLayout.BindingContext>
<local:MainModel />
</StackLayout.BindingContext>
<Label Text="{Binding Uri}" />
<Button Text="Clear logs" Command="{Binding LogClear}" />
<ScrollView VerticalOptions="FillAndExpand">
<Label FormattedText="{Binding Log}" VerticalOptions="FillAndExpand" />
</ScrollView>
</StackLayout>
</ContentPage>
Log
在应用程序运行时更新,但标签未按预期扩展。任何的想法?
我不能在这里分享细节,但这是Xamarin.Forms的错误。现在,它已在上游修复。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句