Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add icon to the main fab icon button #380

Open
MostafaKhaled2017 opened this issue Nov 4, 2019 · 0 comments
Open

Can't add icon to the main fab icon button #380

MostafaKhaled2017 opened this issue Nov 4, 2019 · 0 comments

Comments

@MostafaKhaled2017
Copy link

I have a fab icon menu that contains 2 fab icons I have added icons for the 2 fab icons but I can't add an icon for the main item which opens the 2 other items.

this is my xml code :
` <com.getbase.floatingactionbutton.FloatingActionsMenu
android:id="@+id/multiple_actions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
fab:fab_addButtonColorNormal="@color/colorPrimary"
fab:fab_addButtonColorPressed="@color/colorPrimary"
fab:fab_addButtonPlusIconColor="@color/colorPrimary"
fab:fab_labelStyle="@style/menu_labels_style"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toTopOf="@id/navigation"
app:srcCompat="@drawable/add"
app:layout_insetEdge="bottom" >

    <com.getbase.floatingactionbutton.FloatingActionButton
        android:id="@+id/fabChallenge"
        app:fab_icon="@drawable/elect"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        fab:fab_colorNormal="@color/white"
        fab:fab_title="بدء تحدى جديد"
        fab:fab_colorPressed="@color/colorPrimary"/>

    <com.getbase.floatingactionbutton.FloatingActionButton
        android:id="@+id/fabAddPost"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        fab:fab_colorNormal="@color/white"
        app:fab_icon="@drawable/add"
        fab:fab_title="إضافة منشور"
        fab:fab_colorPressed="@color/colorPrimary"/>

</com.getbase.floatingactionbutton.FloatingActionsMenu>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant