dip

  1. Luna9412

    Android Question Screen Orientation

    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...
  2. J

    Android Question Drawing regardless of the device?

    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...
  3. A

    Android Question Convert pixel to dip in designer

    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?
  4. SayCheese

    Android Question DIPs, how independent are they really?

    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...
  5. MarkusR

    Android Question i will have same visual button size at differnt devices.

    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...
Top