If you want your layouts to work on different resolution screens, you must select them using dipas a device. For example:
android:layout_marginRight="10dip"
dip means Device Independent Pixel, and using them in your layout means that Android automatically scales your layout, depending on which display the device is running on which your application is running.
Android. , , dip, , .