My phone call app looks smaller on Android HD phones, HDPI and XHDPI phones

I am new to developing a hybrid application using phonegap and jquery mobile. my application looks great on mdpi devices. But the user interface of the application looks smaller / shrinking in HDPI and XHDPI phones, tablets and Apple devices.

I am currently using the viewport meta tag as

<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, target-densityDpi=device-dpi" /> 

how can I get the same interface in all screen resolutions and DPI.

You need your suggestions.

+6
source share
1 answer

Delete Target Dpi Density = dpi device. Basically this is all you need:

 <meta name="viewport" content="user-scalable=no, initial-scale=1, minimum-scale=1, width=device-width" /> 
+11
source

Source: https://habr.com/ru/post/948232/


All Articles