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

Subtitle with more lines possible? #13

Closed Rainer-Lang closed 7 years ago

Rainer-Lang commented 7 years ago

I need about 7 rows. Even formatted, like url, email, address

daniel-stoneuk commented 7 years ago

Sure. Guessing you'd want some sort of HTML formatting to go with it? I'll have it done by tonight.

Rainer-Lang commented 7 years ago

This would be really awesome! Thanks.

daniel-stoneuk commented 7 years ago

Use MaterialAboutActionItem.Builder().subTextHtml(String subTextHtml) like so: (<br /> is line break)

.subTextHtml("This is <b>HTML</b> formatted <i>text</i> <br /> It is very cool!")
Rainer-Lang commented 7 years ago

Thanks.