[Android] Implement onShowCustomView and add test case.

1. Implement onShowCustomView with requested orientation.
2. Add test case for onShow/HideCustomView.
At http://source.android.com/source/code-style.html#limit-line-length, "Each line of text in your code should be at most 100 characters long." This code should not be squashed. Thanks.