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
Remove Iconify from FeedInfoFragment #6655
Conversation
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! By the way, where did you get the new icon from?
https://icon-sets.iconify.design/fa-solid/paperclip/ Also takes a bit of fiddling in gimp and other tools to extract the paths and then to reduce their complexity. |
I would prefer to use these icons if possible, because we already attribute them on our licenses page: https://pictogrammers.com/library/mdi/ |
Sure. I'll redo the disc full icon using that source as well. Are you okay with with paper clip icon no longer being diagonal as a result? |
Sure :) |
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! I have some comments :)
android:scaleY="0.5"> | ||
|
||
<path | ||
android:fillColor="#000000" |
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.
Please use ?attr/action_icon_color
, so it is visible in the dark theme
android:viewportHeight="24"> | ||
|
||
<path | ||
android:fillColor="#000000" |
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.
Please use ?attr/action_icon_color
, so it is visible in the dark theme
android:viewportHeight="12"> | ||
|
||
<group | ||
android:scaleX="0.5" |
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.
Why is this needed? Can't you just adapt the viewport to scale it? That simplifies the icon
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.
Apologies for the delay on this. Was away for a while and then took another while to get caught up.
AFAICT the viewport attributes only change the amount of the icon that is visible, ie they crop it and setting it to 6/6 ends up only showing the top left of the paperclip.
I had a look around online and couldn't see any obvious other solution short of halving all of the numbers in the source icon pathData attribute.
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 would have removed the scale and set the viewport to 24/24, not to 6/6
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.
@caoilte does setting the viewport to 24/24 and removing the scaling work?
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.
aaaah. neat! yeah that did the trick! thanks for explaining.
Thanks! |
Part of #5925
Using the same compound drawable pattern I used in #6578 for disk full in navigation tile
Feed Info Before
Feed Info After