Skip to content

Images Look pixelated #7

@pierrekhouryy

Description

@pierrekhouryy

This is my fitbutton:

<com.github.nikartm.button.FitButton android:id="@+id/fitButtonEatOut" android:layout_width="0dp" android:layout_height="300dp" android:layout_margin="16dp" android:layout_marginTop="16dp" android:layout_marginEnd="195dp" android:alpha="1" android:gravity="center" app:fb_backgroundColor="#fff" app:fb_cornerRadius="7dp" app:fb_icon="@drawable/ic_shoppingbag" app:fb_iconHeight="100dp" app:fb_iconPosition="top" app:fb_iconWidth="100dp" app:fb_shadow="20dp" app:fb_shape="rectangle" app:fb_text="Take Away" app:fb_textColor="#000" app:fb_textPaddingTop="5dp" app:fb_textSize="30sp">

The icon looks pixelated on big android screens, however it should not since the drawable is a vector icon and indeed it doesn't look pixelated when placed inside an imageview, Any tips?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions