Skip to content

actionbar: custom icon size ratio#122

Open
dbulatovicx32 wants to merge 1 commit intome0wg4ming:masterfrom
dbulatovicx32:feature/actionbar-custom-icon-size
Open

actionbar: custom icon size ratio#122
dbulatovicx32 wants to merge 1 commit intome0wg4ming:masterfrom
dbulatovicx32:feature/actionbar-custom-icon-size

Conversation

@dbulatovicx32
Copy link

Hey, as the other fork is stale I will propose few changes that didn't get merged in the main repo, please merge or discard as you see fit.

  • added option to individually set height and width of an icon, rather than just setting the size for both
  • modified BarLayoutSize to allow new values, probably should make my own helper for this?

One thing that might be worth looking into is how to keep the icon image ratio itself, rather than letting it squish like in the screenshots, it doesn't bother me personally, but it might bother you.

Default, using only Icon Size of 50:
image

Custom Size, using width:50, height:30:
image

Drag background is correctly scaled as well:
image

- added option to individually set height and width of an icon, rather than just setting the size for both
- modified BarLayoutSize to allow new values
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.

1 participant