如何在名为MORE的选项卡式页面中添加额外菜单作为xamarine形式的下拉菜单

时间:2019-03-29 05:59:17

标签: javascript angularjs asp.net-mvc xamarin.forms xamarin.android

我正在尝试在xamarin移动应用程序名称为MORE的当前选项卡式页面中添加新菜单,作为下拉菜单以获取更多功能。.需要帮助

<local:home Title="Home" Icon="Home.png"></local:home>
<local:industry Title="Industry"     Icon="Industry.png" ></local:industry>
<local:package Title="Package" Icon="Service.png"  ></local:package>
<local:contact Title="Contact"  Icon="Contact.png"  ></local:contact>
<!--<local:PopUp Title="More" Icon="more1.png"></local:PopUp>-->

<ContentPage x:Name="More" Title="More" Icon="more1.png">
    <ContentPage.ToolbarItems>
        <ToolbarItem Text="Call" Order="Primary" Clicked="BtnCall_Clicked" />
        <ToolbarItem Text="Location" Order="Primary" Clicked="BtnLoc_Clicked" />
    </ContentPage.ToolbarItems>
    <!--<ContentPage.Content>
            <StackLayout  VerticalOptions="Center" HorizontalOptions="Center">
            <Button Text="Call Now" Clicked="BtnCall_Clicked" BackgroundColor="SkyBlue" FontSize="Micro"/>
            <Button Text="Location" Clicked="BtnLoc_Clicked" BackgroundColor="SkyBlue" FontSize="Micro"/>
        <ListView x:Name="MorePopup"></ListView>
    </StackLayout>
    </ContentPage.Content>-->
</ContentPage>

0 个答案:

没有答案