コード例 #1
0
            public ChildView(Context context, SelectionLayout parent, IAttributeSet attrs, int defStyleAttr)
                : base(context, attrs, defStyleAttr)
            {
                _parent        = parent;
                operatingAnim1 = AnimationUtils.LoadAnimation(_parent.mContext, Resource.Animation.roate_0_180);
                operatingAnim2 = AnimationUtils.LoadAnimation(_parent.mContext, Resource.Animation.roate_180_360);

                LayoutInflater inflater = (LayoutInflater)context.GetSystemService(Context.LayoutInflaterService);

                layout = (LinearLayout)inflater.Inflate(Resource.Layout.view_selection, this);

                initView();
            }
コード例 #2
0
 public ChildView(Context context, SelectionLayout parent, IAttributeSet attrs)
     : this(context, parent, attrs, 0)
 {
 }
コード例 #3
0
 public ChildView(Context context, SelectionLayout parent)
     : this(context, parent, null)
 {
 }