Main item and action item cannot display color images ?
Step 1: Are you in the right place?
- [x] I have verified there are no duplicate active or recent bugs, questions, or requests
- [x] 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" />

@leinardi Please help me.
Hi @cryinrain69, I'm sorry but transparent background for fabs is not supported and the icon must be tintable (as in monocromatic).
Hi @cryinrain69, I'm sorry but transparent background for fabs is not supported and the icon must be tintable (as in monocromatic).
Hopefully it will be supported in the next version, otherwise it's a pity for a good lib. Thank you.
I currently do not have plans to implement this feature myself but Pull Requests are welcome.