add TypeStrategy and ReturnStrategy

modify Constant and ButtonsView