小编Zby*_*ski的帖子

如何告诉Microsoft Edge在阅读模式下应该显示什么

Spartan/Edge中的阅读模式似乎以某种方式选择网站上的哪个div以阅读模式显示.在许多页面中,它找不到合适的div(如bbc.co.uk).但是,在我们的网站上,它启用了阅读模式,但随后显示了页面中完全错误的部分.

那么 - 我怎么能告诉它采取正确的部分或至少如何在这些页面上禁用它

windows-10 microsoft-edge

3
推荐指数
1
解决办法
1215
查看次数

XAMARIN表单 - 为什么相同的表单在iOS和Android上看起来不同

我决定尝试Xamarin Forms,因为我认为我可以为所有平台或至少Android和iOS制作一个设计.但是一个简单的形式如:

<?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:app91="clr-namespace:App9;assembly=MasterDetail.Android"
             x:Class="MasterDetail.CompetitorsListPage"
             >
    <StackLayout>
      <Label Text="{Binding CurrentEvent.Name}"></Label>
      <StackLayout Orientation="Horizontal">
        <Button Text="By Place" Clicked="Button_OnClickedByPlace"></Button>
        <Button Text="By Number" Clicked="Button_OnClickedByNumber"></Button>
        <Button Text="By Rating" Clicked="Button_OnClickedByRating"></Button>
        <Button Text="Change Event" Clicked="Button_OnClickedChangeEvent"></Button>
      </StackLayout>
        <ScrollView>
            <ListView x:Name="couples" ItemSelected="Comps_OnItemSelected" ItemTapped="Couples_OnItemTapped">
                <ListView.ItemTemplate>
                    <DataTemplate>
                        <ViewCell>
                            <ViewCell.View>
                                <StackLayout Orientation="Horizontal">
                                    <Label Text="{Binding Round}"></Label>
                                    <Label Text="{Binding Pos, StringFormat='({0}).'}"></Label>
                                  <Label Text="{Binding Name}"></Label>
                                  <Label Text="{Binding StartingNumber}" ></Label>
                                  <Label Text="{Binding OldRating, StringFormat=' [{0}]'}"></Label>
                                  <!--<Label Text="{Binding NewRating, StringFormat=' {0} ]'}"></Label>-->
                                </StackLayout>
                            </ViewCell.View>
                        </ViewCell>
                    </DataTemplate>
                </ListView.ItemTemplate>
            </ListView>
        </ScrollView>
    </StackLayout>
</ContentPage> …
Run Code Online (Sandbox Code Playgroud)

xamarin xamarin.forms

2
推荐指数
1
解决办法
2674
查看次数