Shake is supposed to shake the screen.
So either your layout's size has to be bigger than your project's window's size, or the layout "Unbounded scrolling" property must be true.
Posting your project might make it easier to investigate what may be going on.
Indicate precisely what you are looking to achieve and what you experience your actual project doing.