@Override
    public boolean requestFocus(int direction, Rect previouslyFocusedRect) {
        if (getParentDialog() != null && getParentDialog() instanceof NoTouchInterface) {
            return false;
        }
        if (direction == View.FOCUS_DOWN && requestFocusView != null && requestFocusView.get() != null && requestFocusView.get() != this) {
            return requestFocusView.get().requestFocus();
        }
        View findFocusView = findFocus();
        if (findFocusView != null && findFocusView != this) {
            findFocusView.requestFocus();
            return true;
        }
        return super.requestFocus(direction, previouslyFocusedRect);
    }
@author: Kongzue
@github: https://github.com/kongzue/
@homepage: http://kongzue.com/
@mail: myzcxhh@live.cn
@createTime: 2020/9/22 13:53
DialogX/src/main/java/com/kongzue/dialogx/util/views/DialogXBaseRelativeLayout.java