I am creating an application where I really need to know the correct screen sizes. Actually, I know how to do this ... but the problem has arisen, because even if you do requestWindowFeature(Window.FEATURE_NO_TITLE);, it is:
still remains on the screen, and it looks like it is also considered part of the screen, so the "screenWidth" is actually more than the useful part.
Is there no way to get the size of the useful part, not the entire screen? Or at least get the sizes of the "scroll" (but there will be a problem that there are devices that do not show them)?
source
share