DavidPizarro / AutoLabelUI

Android library to place labels next to another. If there is not enough space for the next label, it will be added in a new line.
Apache License 2.0
636 stars 107 forks source link

Label shape #8

Closed EpsilonOrionis closed 9 years ago

EpsilonOrionis commented 9 years ago

Is it possible to change the shape? Rounded edges etc...?

DavidPizarro commented 9 years ago

Yes , I'll upload a new version possibly today. I'll write you when it has been uploaded and I will explain you how to do this (very simple)

EpsilonOrionis commented 9 years ago

Thank you

nitinmishra27 commented 9 years ago

@EpsilonOrionis even i was also searching for same, very thanks for your work

DavidPizarro commented 9 years ago

Hi! It has been solved in the new version 1.0.1.

Now, 'background_color'attribute with color reference has been removed. Now you can use the new 'label_background_res' attribute. It can be a color or a drawable. It's a reference, as you want. Also, 'setBackgroundColor' method has been removed. Now you can use the new 'setBackgroundResource' method. You can use a color or a drawable, as you want and need. Also 'withBackgrondColor' Builder method has been removed. Now you can use the new 'withBackgrondResource' Builder method. You can use a color or a drawable, as you want and need.

Also,'label_padding' attribute, 'setLabelPadding' method and 'withLabelPadding' Builder method have been added.

Thanks!

EpsilonOrionis commented 9 years ago

Thank you again

nitinmishra27 commented 9 years ago

@DavidPizarro Thanks for your quick work.....