Skip to content

Main item and action item cannot display color images ? #174

@cryinrain69

Description

@cryinrain69

Step 1: Are you in the right place?

  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version of the library.

Step 2: Describe your environment

  • Library version: 3.2.0
  • Android version: 10
  • Support library version:
  • Device brand: Samsung
  • Device model: S8+

Step 3: Describe the problem:

I use multicolor image in both main item and action item but it doesn't display, only shows 1 color and has background color around.
How can I show only the correct image?

Code:

<com.leinardi.android.speeddial.SpeedDialView
        android:id="@+id/speedDial"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_alignParentBottom="true"
        app:sdExpansionMode="top"
        app:sdMainFabAnimationRotateAngle="0"
        app:sdMainFabClosedBackgroundColor="@color/transparent"
        app:sdMainFabClosedSrc="@drawable/img_service"
        app:sdMainFabOpenedBackgroundColor="@color/transparent"
        app:sdMainFabOpenedSrc="@drawable/img_service" />

image 1
image 2

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