Layout techniques for android development
prithiviraj last edited by A Former User
I'm developing GUIs for android phones which is going to acquire the data via Bluetooth from remote host. Here my all the logic are working very fine. but i'm not able to set the proper layou for my application. The radio buttons and text labels are not in expected size. images are getting resized as its own wish. i'm not able to correct it.
Is there any techniques available to show all things in proper way. I don't want to write a separate coding for the gui using qml. I would like to design in .ui file itself by pick and drop.
What exactly did you try ?
What do you expect to see ?
What do you currently get ?
Is there any techniques available to show all things in proper way
prithiviraj last edited by
@SGaist I tried to display a form similar to sign up in all website with some line edits and radio buttons. In desktop GCC environment, the Gui is very properly coming. if I'm trying for Android ARM7a environment. radio button are not displaying properly and also images are automatically resized. i didn't set any fixed size for my window also.
Can you share an example of widget that doesn't show as you wish on Android ?
Eeli K last edited by
@prithiviraj Something like this could happen because of virtual coordinate system, http://doc.qt.io/qt-5/highdpi.html. Test with Qt::AA_EnableHighDpiScaling and Qt::AA_DisableHighDpiScaling and see what happens.