I am trying to hide object while animating it. But I have two view mode screen and I want one of them not be showing everyting including object. How can I do that?
Assuming you're using multiple windows and not just multiple views (view -> Duplicate Area into New Window) Select the object you want hidden, and hit "M"
select one of the boxes to move the object to - that's the other layer.
and you will see the objects from only the selected layers.
Hint: the dot indicates that there are objects on the layer, the background tint means you're viewing the layer.
You can set one view to see all layers and another to view only one!
Switch to local view in the view where you just want to show the current selected object. That way just the selected object is visible in this view. The item can be found in the View menu.