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

fix: Snackbar is appearing in the middle of the screen in eventDetailFragment #973

Merged
merged 2 commits into from Jan 28, 2019

Conversation

pranavpandey1998official
Copy link
Contributor

@pranavpandey1998official pranavpandey1998official commented Jan 28, 2019

fix #962 Snackbar is appearing in the middle of the screen in eventDetailFragment

removed the coordinate layout from fragment_social_links
added app:layout_dodgeInsetEdges="bottom" top frameLayout of fragment_event so whole thing shifts up when snackbar is shown
ezgif com-video-to-gif

fix #962

… in eventDetailFragment

removed the coordinate layout from fragment_social_links
added app:layout_dodgeInsetEdges="bottom" top frameLayout of fragment_event so whole thing shifts up when snackbar is shown

fixed :fossasia#962
@pranavpandey1998official pranavpandey1998official changed the title fix :#962 Snackbar is appearing in the middle of the screen in eventDetailFragment fix: Snackbar is appearing in the middle of the screen in eventDetailFragment Jan 28, 2019
@kshitijsuri90
Copy link
Contributor

Mention which issue it fixes in the description.

@@ -2,12 +2,8 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this framelayout to coordinator layout

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that was the bug if I changed it back then snackbar will take it as the first coordinate-Layout parent and appear as before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you want cordirdinate layout in view hiarchy we could nest it inside frameLayout

@iamareebjamal iamareebjamal merged commit c466e32 into fossasia:development Jan 28, 2019
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

Successfully merging this pull request may close these issues.

Snackbar is appearing in the middle of the screen in eventDetailFragment
3 participants