Skip to content

InnerPinView drawable size is smaller than OuterPinView on 320dpi screen device #4

@hendrawd

Description

@hendrawd

I don't know if it is the right behavior, but i got a weird behavior here. InnerPinView drawable is seems to be smaller than OuterPinView drawable on device with 320dpi screen. The behavior is not happens for device with 480dpi or higher screen. Actually the images used for InnerPinView and OuterPinView has the same size.
the bug screen shot

Here is my XML:

<com.goldenpie.devs.pincodeview.PinCodeView
     android:id="@+id/pcv_pass_code"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_gravity="center_horizontal"
     app:pcv_pin_inner_alpha="0"
     app:pcv_pin_inner_color="@color/primary"
     app:pcv_pin_inner_drawable="@drawable/ic_pin_star"
     app:pcv_pin_outer_drawable="@drawable/ic_pin_line"
     app:pcv_pin_tint_inner="false"
     app:pcv_pin_tint_outer="false"
     app:pcv_pin_type="unlock"
     />

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