void UpdateCursorColor()
        {
            AutoCompleteTextView textView = null;

            try
            {
                var searchId = Control.Resources.GetIdentifier("android:id/search_src_text", null, null);
                if (searchId == 0)
                {
                    return;
                }


                textView = this.FindViewById <AutoCompleteTextView> (searchId);
                if (textView == null)
                {
                    return;
                }


                var theClass = Java.Lang.Class.FromType(typeof(TextView));
                var theField = theClass.GetDeclaredField("mCursorDrawableRes");
                theField.Accessible = true;
                theField.Set(textView, Resource.Drawable.cursor_white);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine("Unable to get icon" + ex);
            }

            try
            {
                if (textView == null)
                {
                    return;
                }
                textView.SetBackgroundResource(Resource.Drawable.searchview_background);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine("Unable to get icon" + ex);
            }
        }