Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

334
Views
Cómo mostrar páginas web en Android a resolución nativa

Ahora tengo un Android TV.

Los parámetros del sistema son 1920 x 1080 px 960 x 540 dp

Terminé una página web que quiero mostrar en un televisor de 1080p.

A través de la vista web de la aplicación de Android.

Un Android de 960 x 540 dp permitirá que la vista web se muestre en 960 x 540 px

Estos datos provienen de window.screen.height y window.screen.width (javascript)

¿Hay alguna solución que no sea body{zoom:0.5} y dividir todos los px por dos?

body{ zoom:0.5 } no me funciona, quizás sea porque usé echarts

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Bien, encontré la solución perfecta.

No usé el zoom correctamente antes.

el zoom es muy efectivo

Ahora Android 960*540DP se comporta igual bajo la web 1080P

 <style type="text/css"> body { width: 200vw; height: 200vh; min-height: 200vh; zoom: 0.5 !important; } .mbody { height: 100%; } </style>
 <body> <div class="mbody"> ... </div> </body>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!