There is a very good and well-sourced article on Kant's refutation of Idealism on SEP.
As the answer in this question tried to say, it is essentially about an objective foundation of time.
From the SEP article linked:
George Dicker provides a compelling initial representation of Kant's argument (Dicker 2004, 2008):
- I am conscious of my own existence in time; that is, I am aware, and can be aware, that I have experiences that occur in a specific temporal order. (premise)
- I can be aware of having experiences that occur in a specific temporal order only if I perceive something permanent by reference to which I can determine their temporal order. (premise)
- No conscious state of my own can serve as the permanent entity by reference to which I can determine the temporal order of my experiences. (premise)
- Time itself cannot serve as this permanent entity by reference to which I can determine the temporal order of my experiences. (premise)
- If (2), (3), and (4), are true, then I can be aware of having experiences that occur in a specific temporal order only if I perceive persisting objects in space outside me by reference to which I can determine the temporal order of my experiences. (premise)
- Therefore, I perceive persisting objects in space outside me by reference to which I can determine the temporal order of my experiences. (1–5)
So the main difference is that while Berkeley would have to say that everything is subjective, because the mind is the only (ontological) reality that cannot be questioned, Kant's transcendental (!) idealism is an idealism that can infer, by transcendental philosophy, to an objective being, and is therefore always founded on experience of something (ontological) real that is different from the (phenomenal) self (under the name of nature). Only in the unity of the noumenal self you could say that all is one, but there are many discussions going on about that.
That is why the transcendental ideas are problematic concepts because they have no object in the experience of nature (A254|B310). Kant also says something about this in his Prolegomena (Prol.,4:373f., fn.).