Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images Look pixelated #7

Open
pierrekhouryy opened this issue Sep 20, 2020 · 0 comments
Open

Images Look pixelated #7

pierrekhouryy opened this issue Sep 20, 2020 · 0 comments

Comments

@pierrekhouryy
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant