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 (FAB) #24

Open
aldycool opened this issue Mar 26, 2016 · 0 comments
Open

Floating Action Button (FAB) #24

aldycool opened this issue Mar 26, 2016 · 0 comments

Comments

@aldycool
Copy link

Hi, I'm having trouble integrating the Floating Action Button (FAB) with the Mortar-Architect layout structure. I'm planning to create the FAB in each view (HomeView, TransactionView) for convenience, this would allow me to create FAB specific to each views. But in the activity_main.xml of app example, the NavigatorView which acts as the container of the Views, is a child of the CoordinatorLayout, and is placed as the last child of the CoordinatorLayout. According to the FAB samples, FAB must also be a direct descendant / child of CoordinatorLayout (to gain the Material Design behaviors). So, if I create the FAB in each views, this means that the FAB is not a direct child of the CoordinatorLayout (FAB would be a child of a view which is contained in the NavigatorView, and that NavigatorView is the child of the CoordinatorLayout). What is the proper way of handling this issue? Thanks.

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