Hello, I'm having problems with the orientation of my app, I'm trying to set the main layout in PORTRAIT and the second Layout in Landscape but it's only posible if the phone has the orientation activated, I want to.... force the app to change to Landscape... I tried using...
I have this code: in a loop I draw circles while changing the distance between them. Next to it I have a reference line from 0 to 75%y. On the 10" emulator, the circles reach roughly 50% of the reference line, on the 4" emulator they are beyond the end of the line.
How to make it so that they...
Our designer has created a layout for new screen. This file is in JPG. My question is - how to convert pixel to dip in designer? Let's say a button has 657 x 112 pixels. How to convert pixels to dip in designer?
Thinking about Device Independent Pixels I thought this must be the best thing since sliced bread. However, when I was playing around with listviews I noticed that a 85dips high layout loaded in a 85dips high listview item didn't fit. Although I thought it was a bit strange, I didn't think of it...
i saw the tutorial about dip but i don't get it.
as example for a button:
me thought if me input a size value width and height in designer it is dip and the visual size is the same at all devices, but it is not.
me tested also with autoscale on/off.
portrait:
i have a 10" tablet 800x1216 scale...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.