lewisjdeane / L-Dialogs

A small library replicating the new dialogs in android L.
567 stars 100 forks source link

Can't reorder positive/negative text #14

Closed easycheese closed 10 years ago

easycheese commented 10 years ago

In your screenshots, the light example has the negative to the left of the positive and the dark example has one over the other. How do you code it so the negative is to the left? The default appears to be vertical but I can't find any options for horizontal. I went through the code but can't find any options to use.

lewisjdeane commented 10 years ago

It automatically switches to stacked view when there is not enough space for side by side. Try reducing the length of string on both buttons

easycheese commented 10 years ago

Oh, the strings have to be seriously short. Thanks

lewisjdeane commented 10 years ago

Yeah you can always reduce the text size of the buttons so you can fit more on the buttons with the latest update.