Skip to content

Commit 3bbf0ef

Browse files
committed
add use wide view
1 parent c9b9b9d commit 3bbf0ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

molpayxdk/src/main/java/com/molpay/molpayxdk/MOLPayActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ protected void onCreate(Bundle savedInstanceState) {
190190
mpMOLPayUI.getSettings().setDomStorageEnabled(true);
191191
mpMOLPayUI.setWebViewClient(new MPMOLPayUIWebClient());
192192
mpMOLPayUI.setWebChromeClient(new MPMOLPayUIWebChromeClient());
193+
mpMOLPayUI.getSettings().setLoadWithOverviewMode(true);
194+
mpMOLPayUI.getSettings().setUseWideViewPort(true);
193195

194196
CookieManager.getInstance().setAcceptCookie(true);
195197

0 commit comments

Comments
 (0)