在我的 Xamarin.Forms
项目中,在iOS中,我的一个页面中有7个标签,与“更多”菜单相比,单行中仅显示4个标签。在Android中,所有标签都显示为单行,看起来不错。
这是我的代码
<?xml version="1.0" encoding="utf-8" ?>
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="edTheSIS.Views.StaffTimeTablePage"
SelectedTabIndex="{Binding SelectedTab}"
xmlns:customViews="clr-namespace:edTheSIS.CustomViews;assembly=edTheSIS">
<NavigationPage.TitleView>
<customViews:TitleView prism:ViewModelLocator.AutowirePartialView="true"></customViews:TitleView>
</NavigationPage.TitleView>
<ContentPage Title="MON">
<StackLayout>
<customViews:DumyView BackgroundColor="#f26422"></customViews:DumyView>
<StackLayout>
<ListView x:Name="list1" HasUnevenRows="True" ItemsSource="{Binding TimeTablesList}">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout>
<customViews:TimeTableView prism:ViewModelLocator.AutowirePartialView="true"></customViews:TimeTableView>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</StackLayout>
</ContentPage>
<ContentPage Title="TUE">
......
......
我只想避免使用“更多”选项,而需要所有可见的标签,我该怎么做?