[Android] Implement onShowCustomView and add test case.

1. Implement onShowCustomView with requested orientation.
2. Add test case for onShow/HideCustomView.
buflen - > bufferLength