문제

I am currently using following image view -

<ImageView
        android:id="@+id/flag"
        android:layout_width="120dp"
        android:layout_height="120dp"
        android:background="#000000"
        />

but i am a little confused about

what to use dp or dip?

so that it changes from device to device say it should manage screen dimensions like for 320 x 640 Or is there anything else to manage it

thanks in advance

도움이 되었습니까?

해결책

There's NO DIFFERENCE. dip and dp are the very same thing.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top