javiersantos / MaterialStyledDialogs

A library that shows a beautiful and customizable Material-based dialog with header. API 14+ required.
Apache License 2.0
1.17k stars 155 forks source link

[Improvement] If length of the description reached specified length, make the TextView scrollable #6

Closed meness closed 8 years ago

meness commented 8 years ago

Hi,

I tried to provide smaller description but it still is long for a smartphone and make the appearance of the dialog bad. The best solution is providing scrollable TextView.

javiersantos commented 8 years ago

Thanks.

dependencies {
    compile 'com.github.javiersantos:MaterialStyledDialogs:1.2'
}
// Set if the description will be scrollable, with custom maximum lines.
// Default: false
.setScrollable(true)

// Default: false, 5
.setScrollable(true, 10)