I am a bit confused about when is onPause() called but not onStop(). All the documentation says the former is called when the activity is partially visible, and the latter when completely invisible/covered. I am not able to visualize a real example. Android developers doc says “when a semi-transparent activity opens (such as one in the style of a dialog), the previous activity pauses.” (http://developer.android.com/training/basics/activity-lifecycle/pausing.html).
I created a small dialog in one of my activities and logged the life cycle events. But when the dialog shows up, my log does not say “OnPause()”! Can you please clarify?