-
Notifications
You must be signed in to change notification settings - Fork 20
Description
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?