-
Notifications
You must be signed in to change notification settings - Fork 31
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
Updated info page animation #36
base: master
Are you sure you want to change the base?
Conversation
gilgoldzweig
commented
Mar 1, 2020
•
edited
Loading
edited
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.
Sorry for the delay, I'm sure you can imagine things have been busy with the reschedule.
Thanks for the contribution! I think some of these changes don't handle different screen sizes. Also, I noticed a bit of padding between the list and the toolbar in both states. Not sure if that comes from the change in inset handling.
binding.list.apply { | ||
layoutManager = LinearLayoutManager(context, VERTICAL, false) | ||
adapter = [email protected] | ||
} | ||
|
||
binding.inset.doOnApplyWindowInsets { view, insets, initialState -> | ||
binding.inset.doOnApplyWindowInsets { _, insets, _ -> |
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.
This change looks like you're now setting the height of the wrong view. The height was being set on the inset view, not the fragment's view.
android:layout_height="wrap_content" | ||
android:text="Roboto" | ||
android:gravity="start|center_vertical" | ||
android:text=" app is open souce," |
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.
These were intentionally broken up so the text would still flow on smaller devices (and larger ones). Does this mitigate that in some way?