How to change child freeAngle programatically
JCLaHoot opened this issue · 7 comments
In the XML it's not too hard to changed the free angle of a child, but programatically I can't seem to figure it out or find any examples in the documentation or the demo app. Is it possible? if so, how would I go about it? I can get the child angle, but I don't see to be able to set it.
Basically, instead of always displaying a single view in the layout at 12h, I'd like their starting point to be in different places. Or to be able to change the child angles independently... both things would work for what I'm doing
I'm having the same problem (but with arc_angle) and would be grateful if someone had a solution for this.
I stacked 10 arclayouts in a relative layout, rotated them independently with higher level methods like setRotation(), and applied the opposite rotation to the contents of my layouts so they won't be upside down or something. It's a hack, but it should fix the problem.
Was hoping for a cleaner solution, but thanks that should work for now :)
You could also fork the library and make changes. I don't remember the exact method that needed to be changed, but if you trace back how the initial angle is set you should be able to find it
Im sorry, but your solution (stacking ArcLayouts) does not work for me. I really need to be able to change the arc_angle of an elements that im going to add (programatically) to the ArcLayout, because the number of elements I'm going to add to the ArcLayout is variable.
I think you add the ArcLayouts manually in the axml, while I have to programmatically add those too if I want to implement that solution.
Has anyone found a way to change the arc_angle programmatically?
I am having the same problem!
Can anyone tell me how to make ArcLayout scrollable ?