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

Floating Action (Button Problem) New User Sign Up #35

Open
lugems opened this issue Feb 1, 2018 · 0 comments
Open

Floating Action (Button Problem) New User Sign Up #35

lugems opened this issue Feb 1, 2018 · 0 comments

Comments

@lugems
Copy link

lugems commented Feb 1, 2018

Floating Action Button +@id/fab on click after compile and running on the phone doesn't work
and two floating action buttons have the same id (+@id/fab) both in activity_login.xml

<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignEnd="@id/cv"
android:layout_alignTop="@id/cv"
android:layout_marginEnd="20dp"
android:layout_marginTop="25dp"
android:onClick="clickRegisterLayout"
android:src="@drawable/ic_signup"
android:transitionName="loginFab"
app:fabSize="normal"
android:layout_alignRight="@id/cv"
android:layout_marginRight="-20dp" />

and activity_register.xml

android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal top"
android:onClick="clickBackLogin"
android:src="@drawable/plus_x"
android:transitionName="loginFab"
app:fabSize="normal" />

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