if (w != null) {
                View v1 = (View) w.findViewById(android.R.id.custom);
                if (v1 != null) {
                    View p = (View) v1.getParent();
                    if (p != null)