- Home /
High Resulotion [1440 x 2560] Compability
Hey , i have LG G3 and im developing for android.
now i used to develop to samsung galaxy s3 which haves a normal resolution.
but the LG G3 have extremly high resulotion and everything seems super small.
does anyone have an algorithim to keep the Buttons/Texts/Fields resized automatically ?
i've tried lots of stuff .
nothing actually worked.
thanks in advance .
Answer by unimechanic · Oct 09, 2014 at 09:11 PM
You can use the GUI.matrix to scale the interface according to the screen's DPI:
Answer by jmparavicini · Oct 09, 2014 at 09:44 PM
You could use the GUI.matrix or use the new unity 4.6 UI system it has a totally new resizing function
which 4.6 UI system ? can i have some references about it ?
my LG G3 has 640 DPI and resolution of 1440 x 2560 .
everything is perfect in any device but $$anonymous$$e .
i've also tried this :
public static void AutoResize(int screenWidth, int screenHeight) { Vector2 resizeRatio = new Vector2((float)Screen.width / screenWidth, (float)Screen.height / screenHeight); GUI.matrix = $$anonymous$$atrix4x4.TRS(Vector3.zero, Quaternion.identity, new Vector3(resizeRatio.x, resizeRatio.y, 1.0f));
}
guess what.. Same same.
any idea ?
Your answer
![](https://koobas.hobune.stream/wayback/20220613164720im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Texture looks low-res/chunky/pixelated on mobile 3 Answers
Android project debugging.. 1 Answer
resolution is squished horizontal on android 0 Answers
Mobile Game Different Screen Size Issue 2 Answers
Resolution for assets on Android 1 Answer