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

the main fab icon doesn' appear #47

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

the main fab icon doesn' appear #47

MostafaKhaled2017 opened this issue Nov 10, 2019 · 0 comments

Comments

@MostafaKhaled2017
Copy link

I have made a main fsb icon that contains 2 nested fab icons that should be opened on press on the main fab icon but J found that the main fab icon doesn't appear and only the 2 nested fabs appear above each other.

this is my code :

<com.wangjie.rapidfloatingactionbutton.RapidFloatingActionLayout
    xmlns:rfal="http://schemas.android.com/apk/res-auto"
    android:id="@+id/multiple_actions"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintBottom_toTopOf="@id/navigation"
    rfab:rfab_drawable="@drawable/rfab__drawable_rfab_default"
    rfal:rfal_frame_color="#ffffff"
    rfal:rfal_frame_alpha="0.7">

    <com.wangjie.rapidfloatingactionbutton.RapidFloatingActionButton
        xmlns:rfab="http://schemas.android.com/apk/res-auto"
        android:id="@+id/fabChallenge"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        rfab:rfab_size="normal"
        rfab:rfab_drawable="@drawable/elect"
        rfab:rfab_color_normal="#37474f"
        rfab:rfab_color_pressed="#263238" />
    <com.wangjie.rapidfloatingactionbutton.RapidFloatingActionButton
        xmlns:rfab="http://schemas.android.com/apk/res-auto"
        android:id="@+id/fabAddPost"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        rfab:rfab_size="normal"
        rfab:rfab_drawable="@drawable/rfab__drawable_rfab_default"
        rfab:rfab_color_normal="#37474f"
        rfab:rfab_color_pressed="#263238"
        rfab:rfab_shadow_radius="7dp"
        rfab:rfab_shadow_color="#999999"
        /> 
</com.wangjie.rapidfloatingactionbutton.RapidFloatingActionLayout>
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