How to construct custom views in xamarin

前端 未结 3 453
渐次进展
渐次进展 2021-01-04 11:35

Is there any tutorial which will enable me to design custom views in xamarin?I want to build pinch zoom functionality for my android app using xamarin.

I have tried

3条回答
  •  我在风中等你
    2021-01-04 12:29

    I would suggest checking out this Java Android tutorial to get an idea of what you need to setup:

    http://developer.android.com/training/custom-views/index.html

    You may need to create an attributes xml file for your custom view.

    Another approach you may want to consider is to use a fragment instead of a view:

    http://docs.xamarin.com/guides/android/platform_features/fragments/fragments_walkthrough

提交回复
热议问题