-
Notifications
You must be signed in to change notification settings - Fork 555
fix: Reposition sign in canceled Snackbar #870
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
Conversation
| app:layout_behavior="@string/appbar_scrolling_view_behavior" /> | ||
|
|
||
| <androidx.coordinatorlayout.widget.CoordinatorLayout | ||
| android:id="@+id/mainSnackbar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are naming the CoordinatorLayout as mainSnackbar Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That coordinatorLayout is being used to show the snackbar in the main activity. What should i rename it to?
| import com.google.android.material.snackbar.Snackbar | ||
| import kotlinx.android.synthetic.main.activity_main.navigation | ||
| import kotlinx.android.synthetic.main.activity_main.navigationAuth | ||
| import kotlinx.android.synthetic.main.activity_main.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avoid wildcard imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Will replace it with multiple imports
07ac49b to
1bf5254
Compare
|
I have pushed another commit please review |
| <androidx.coordinatorlayout.widget.CoordinatorLayout | ||
| android:id="@+id/mainSnackbarCoordinatorLayout" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not good, make it the wrapping element
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have pushed another commit. Please let me know if I still need to make changes to this
1bf5254 to
a6eb826
Compare
Fixes #869
Changes:
The snackbar is now visible above the bottom navigation view
Screenshots for the change: