daniel-stoneuk / material-about-library

Makes it easy to create beautiful about screens for your apps
Apache License 2.0
1.12k stars 141 forks source link

Remove item icon #11

Closed cioraneanu closed 7 years ago

cioraneanu commented 7 years ago

Really awesome library! My only request is if it's possible to have a method in MaterialAboutActionItem.Builder that removes the icon and it's empty space. I want to create cards with just the title and some long descriptions. Thank you for your work :)

daniel-stoneuk commented 7 years ago

Added! Don't really want to create a brand new release for this small feature, so for now you can replace the dependency with this:

compile 'com.github.daniel-stoneuk:material-about-library:3a10f88c76'

Thanks for using the library!

daniel-stoneuk commented 7 years ago

Should probably point out how to use it... Simply call .shouldShowIcon(false) on the MaterialAboutActionItem.Builder()

Just fixed a small bug, use this commit:

compile 'com.github.daniel-stoneuk:material-about-library:3a10f88c76'
cioraneanu commented 7 years ago

Tested. Working great. Thank you for the fast action 👍