I want to make a extension using IDE which can get the current screen size from app. I’m trying a lot of java code, but can’t do it. Sometime error comes up with method and sometime class. If anyone can do this, please help me. I have a great idea with this. But I have stopped with this problem.
Just put a vertical or horizontal arrangement in screen with fill parent height and fill parent width. And then get height and with of that arrangement.
You have to keep all the elements of app inside that vertical arrangement
Edit : I just read the whole title. But I would suggest this method bcz it’s easy and simple