android - GoogleTV webview width is different than GoogleTV browser width -


i have html5 tv web app wish put in googletv play store. this, needed place url of web app within webview. works great way, did noticed 1 oddity. when view app within googletv's browser, width 1011px, when app viewed within webview within play store app, width 980px. visually, app takes same width on screen.

i imagine going on dpi set differently , why same visual width indicating being different pixel widths.

is there way make webview playstore app same amount of pixels wide (and high) web browser app?

you may having issue auto zoom - on default chrome on google tv - try adding following code:

<meta name="gtv-autozoom" content="off" /> 

edit: have considered creating apk launches intent chrome load web app?


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -