[Android] Add test case for onShow/HideCustomView.

This patch is to add test for OnShowCustomView and onHideCustomView.
Some code was ported from android webview.