2017-02-20 8 views
0

を使用してxamarinアンドロイドでタブ付きのナビゲーション私は現在、私はこのようなタブ付きナビゲーションを追加したいmvvmcross を使用してxamarinアンドロイドでタブバーを実装しようとしています: tabハウツーmvvmcross

<android.support.design.widget.AppBarLayout 
    android:id="@+id/appbar" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> 
    <Toolbar 
     android:id="@+id/toolbar" 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:minHeight="?android:attr/actionBarSize" 
     android:background="?android:attr/colorPrimary" 
     android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" 
     android:popupTheme="@style/ThemeOverlay.AppCompat.Light" 
     android:titleTextColor="#ffffffff" /> 
    <android.support.design.widget.TabLayout 
     android:id="@+id/tabs" 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:paddingLeft="16dp" 
     local:tabGravity="center" 
     local:tabMode="scrollable" 
     /> 
    <android.support.v4.view.ViewPager 
    android:id="@+id/viewpager" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" /> 
</android.support.design.widget.AppBarLayout> 
+0

を実装するのはとても簡単ですか!あなたはスタイルだけを見ているのですか、またはXamarinにタブバーを実装する方法についていますか? –

+0

私はmvvmcrossでxamarinでtabbarを実装する方法を探しています! –

答えて

0

これは何ですか私はタブ付きのナビゲーションに使用しました。 https://github.com/rrispoli/SampleTabs

それは、私は疑問が何であるかわからないんだけど