Example #1
0
        protected override View GetViewImpl(Context context, ViewGroup parent)
        {
            var view = DroidResources.LoadButtonLayout(context, parent, LayoutName);

            if (view != null)
            {
                Button button;
                DroidResources.DecodeButtonLayout(Context, view, out button);
                button.Text = Caption;
                button.SetOnClickListener(this);
            }
            return(view);
        }