mardi 31 mai 2016

Blurred images in Android Studio

Im making a pixel art game in Android Studio.

My question is, is possible to don't get the image blurred? Here is the example:

[IMG]http://ift.tt/1Y0xKfk]

Here is my layout:
Code:

Here is my layout:

<!-- logo-app -->
<ImageView
    android:layout_width="516px"
    android:layout_height="122px"
    android:id="@+id/logo_engine"
    android:layout_gravity="center"
    android:src="@drawable/logoengine"
    android:contentDescription="@null" />

The imagen is 516x122 px so the size is correct but I dont know if the device zooms the application..

For example, the same App in Adobe Air, fits correctly because is designed in 240×320px and the device fits the application to screen perfectly. The application Is zoomed but pixels are zoomed perfectly. Is there any way to conserve the pixels and don't get blurred images?

Thanks!


from xda-developers http://ift.tt/22vf6g1
via IFTTT

Aucun commentaire:

Enregistrer un commentaire