Guest User

Untitled

a guest
Oct 23rd, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  3. xmlns:local="clr-namespace:XXX;assembly=XXX"
  4. xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
  5. BackgroundColor="{DynamicResource BarBackgroundColor}"
  6. android:TabbedPage.ToolbarPlacement="Bottom"
  7. android:TabbedPage.BarItemColor="Gray"
  8. android:TabbedPage.BarSelectedItemColor="{DynamicResource BarSelectedItemColor}"
  9. android:TabbedPage.IsSwipePagingEnabled="False"
  10. x:Class="XXX.MainPage">
  11. </TabbedPage>
  12.  
  13. <?xml version="1.0" encoding="utf-8"?>
  14. <resources>
  15. <style name="MyTabLayoutStyle" parent="TextAppearance.Design.Tab">
  16. <item name="android:textSize">5sp</item>
  17. </style>
  18. </resources>
  19.  
  20. <?xml version="1.0" encoding="utf-8"?>
  21. <android.support.design.widget.TabLayout
  22. xmlns:android="http://schemas.android.com/apk/res/android"
  23. xmlns:app="http://schemas.android.com/apk/res-auto"
  24. android:id="@+id/tabs"
  25. android:layout_width="match_parent"
  26. app:tabGravity="fill"
  27. app:tabMode="fixed"
  28. app:tabTextAppearance="@style/MyTabLayoutStyle"/>
Add Comment
Please, Sign In to add comment