2017-06-28 9 views
0

私は空のフォームアプリケーションを作成し、ライブラリBottomNavigationBarXFをNugetで実装しました。 しかし、デザインは一部を仕事やそうでないかもしれないですが、私は通常のツールバーのようにそれを参照してください。私は何かを実装する必要がありますBottomNavigationBarXFデザインの問題

<?xml version="1.0" encoding="utf-8" ?> 
<xf:BottomBarPage xmlns="http://xamarin.com/schemas/2014/forms" 
      xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
      xmlns:xf="clr-namespace:BottomBar.XamarinForms;assembly=BottomBar.XamarinForms" 
xmlns:example="clr-namespace:BottomBarXFExampleXaml;assembly=BottomBarXFExampleXaml" 
      x:Class="BottomBarXFExampleXaml.BarPage"> 

<example:TabPage Title="Favorites" Icon="ic_favorites.png" /> 
<example:TabPage Title="Friends" Icon="ic_friends.png" /> 
<example:TabPage Title="Nearby" Icon="ic_nearby.png" /> 
<example:TabPage Title="Recents" Icon="ic_recents.png" /> 
<example:TabPage Title="Restaurants" Icon="ic_restaurants.png"/> 
</xf:BottomBarPage> 

public App() 
    { 
     InitializeComponent(); 

     MainPage = new BarPage(); 
    } 

https://storage.googleapis.com/material-design/publish/material_v_11/assets/0Bzhp5Z4wHba3ckpYOVVyMFpJSzg/components_tabs_usage_desktop7.png

ライブラリのインストール後、私はこれを実装そうでなければ、おそらくデザインファイルか、あるいはすべてがライブラリにあるはずですか?

ありがとう

+0

コードをリンクにしないでください。 –

答えて

0

私はこの問題を解決しました。ライブラリはドロイドプロジェクトではなく、フォームプロジェクトにのみ実装されていました。

関連する問題