@Override
        public int overrideMenuItemBackgroundRes(boolean light, int index, int count, boolean isContentVisibility) {
            if (light) {
                if (index == 0) {
                    return R.drawable.button_dialogx_ios_top_light;
                } else if (index == count - 1) {
                    return R.drawable.button_dialogx_ios_bottom_light;
                } else {
                    return R.drawable.button_dialogx_ios_center_light;
                }
            } else {
                if (index == 0) {
                    return R.drawable.button_dialogx_ios_top_night;
                } else if (index == count - 1) {
                    return R.drawable.button_dialogx_ios_bottom_night;
                } else {
                    return R.drawable.button_dialogx_ios_center_night;
                }
            }
        }
@author: Kongzue
@github: https://github.com/kongzue/
@homepage: http://kongzue.com/
@mail: myzcxhh@live.cn
@createTime: 2020/9/26 13:09
DialogXIOSStyle/src/main/java/com/kongzue/dialogx/style/IOSStyle.java