[Android] Implement onShowCustomView and add test case.

1. Implement onShowCustomView with requested orientation.
2. Add test case for onShow/HideCustomView.
`if (activity == null) return;`