example for interaction between activity and layout (implement interface)
- screenOffTimer
- onPause/onResume