Example #1
0
        internal static bool canTextInput(android.view.View v)
        {
            if (v.onCheckIsTextEditor())
            {
                return(true);
            }
            if (!(v is android.view.ViewGroup))
            {
                return(false);
            }
            android.view.ViewGroup vg = (android.view.ViewGroup)v;
            int i = vg.getChildCount();

            while (i > 0)
            {
                i--;
                v = vg.getChildAt(i);
                if (canTextInput(v))
                {
                    return(true);
                }
            }
            return(false);
        }