public void SetPadding(View view)
        {
            string leftString   = left.Text.ToString();
            string topString    = top.Text.ToString();
            string rightString  = right.Text.ToString();
            string bottomString = bottom.Text.ToString();

            if ((leftString.Trim().Length == 0) || (leftString == null) ||
                ("".Equals(leftString)) || (topString.Trim().Length == 0) ||
                (topString == null) || ("".Equals(topString)) || (rightString.Trim().Length == 0) ||
                (rightString == null) || ("".Equals(rightString)) ||
                (bottomString.Trim().Length == 0) || (bottomString == null) ||
                ("".Equals(bottomString)))
            {
            }
            else
            {
                if (!CheckUtils.IsNumber(leftString.Trim()) || !CheckUtils.IsNumber(topString.Trim()) || !CheckUtils.IsNumber(rightString.Trim()) ||
                    !CheckUtils.IsNumber(bottomString.Trim()))
                {
                    Toast.MakeText(this, "Please make sure the padding value is right", ToastLength.Short).Show();
                }
                else
                {
                    if (null != hMap)
                    {
                        hMap.SetPadding(int.Parse(left.Text.ToString()),
                                        int.Parse(top.Text.ToString()), int.Parse(right.Text.ToString()),
                                        int.Parse(bottom.Text.ToString()));
                    }
                }
            }
        }
        public void SetMinZoomPreference(View view)
        {
            string text = minZoomlevel.Text.ToString();

            if ((text.Trim().Length == 0) || (text == null) || ("".Equals(text)))
            {
                Toast.MakeText(this, "Please make sure the minZoom is Edited", ToastLength.Short).Show();
            }
            else
            {
                if (!CheckUtils.IsNumber(text.Trim()))
                {
                    Toast.MakeText(this, "Please make sure the minZoom is right", ToastLength.Short).Show();
                    return;
                }
                if (Single.Parse(text.Trim()) > MapUtils.MAX_ZOOM_LEVEL ||
                    Single.Parse(text.Trim()) < MapUtils.MIN_ZOOM_LEVEL)
                {
                    Toast.MakeText(this, String.Format(Locale.English.ToString(), "The zoom level ranges from %s to %s.",
                                                       MapUtils.MIN_ZOOM_LEVEL, MapUtils.MAX_ZOOM_LEVEL), ToastLength.Short).Show();
                }
                else
                {
                    if (null != hMap)
                    {
                        hMap.SetMinZoomPreference(Single.Parse(minZoomlevel.Text.ToString()));
                    }
                }
            }
        }