[Android] Implement onShowCustomView and add test case.

1. Implement onShowCustomView with requested orientation.
2. Add test case for onShow/HideCustomView.
squash into one line because it does not exceed 120 chars