[英]Use android.support.design.widget in Xamarin
I want to try this version of TabLayout in my Xamarin app: 我想在我的Xamarin应用程序中尝试使用此版本的TabLayout:
https://developer.android.com/reference/android/support/design/widget/TabLayout https://developer.android.com/reference/android/support/design/widget/TabLayout
But I can't figure out how to get a reference to it -- ie what package to add, and what namespace to use in Xamarin. 但是我不知道如何获得对它的引用-即要添加的包以及在Xamarin中使用的名称空间。
I did find a doc about a "tabLayout" here, but it doesn't seem like they are referring to the same one because they say it has been deprecated, which does not appear to apply to the one I want: 我确实在这里找到了有关“ tabLayout”的文档,但似乎他们不是在引用相同的文档,因为他们说它已被弃用,这似乎不适用于我想要的文档:
https://developer.android.com/reference/android/support/design/widget/TabLayout https://developer.android.com/reference/android/support/design/widget/TabLayout
Can anyone help? 有人可以帮忙吗?
Xamarin.Android.Support.Design
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
~~~
/>
using Android.Support.Design.Widget;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.