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
637 stars 107 forks source link

is there a possible i have a autolabel ui inside horizontalscroll view #10

Open sharathyadhav1 opened 8 years ago

sharathyadhav1 commented 8 years ago

I mean i need autolabel ui inside hoizontal scroll view so the labels doesnt go to next line and scrolls inside horizontal scroll view

and other thing is i should be able to set the orientation

screen shot 2015-11-29 at 1 03 23 pm
sharathyadhav1 commented 8 years ago

I have commented the following lines in your library so i wont be getting the labels in the next line (i.e) it comes straight in one line but i need to add horizontal scroll view to the autolabel view group, i am not sure how to add it , kindly help if (lineWidth + childWidth > width) { // mLineHeights.add(lineHeight); // mLines.add(lineViews); //
// mLineMargins.add((int) ((width - lineWidth) * horizontalGravityFactor) // + getPaddingLeft()); // // lineHeight = 0; // lineWidth = 0; // lineViews = new ArrayList<>(); // }

sharathyadhav1 commented 8 years ago

The issue is still open , can any one help me in solving this

parane commented 8 years ago

please help