Skip to content

is there a way to add elevation and translationZ to single item ? #69

@MohamedHelmy95

Description

@MohamedHelmy95

What kind of issue is this?

  • Question. If you want to ask how to do something, or to understand why something isn't
    working the way you expect it to.
Info:
  • PinView version: Latest
  • Device OS version: Android 9
  • Device Name: Xaiomi Note 5
Description:

I want to add a shadow effect around single item

What did I do:

I created my own style inheriting from your default style

<style name="MyPinView" parent="PinWidget.PinView">
<item name="android:elevation">4dp</item>
<item name="android:translationZ">4dp</item>
<item name="elevation">4dp</item>
</style>
but it's not working

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