Jose, I apologize I was not able to respond more promptly.
1) Yes that was omission on my part, now I realize. In my defense, I am a little hesitant to use usual Android development process (Android studio or Eclipse), after working with App Inventor. I guess, once you go visual...
In any case good call, I should correct that, and I'll post results here. I mean, mine simplistic assumption that Android's coordinate system is the same as the one used in Mathematics and elsewhere, with the one difference of preference, i.e. Android starts from fourth quadrant, while elsewhere is preferred first one, is most likely incorect.
2) As for developing/testing, I do, what I assume is the usual way. I dedicate git fork to certain problem, an then I develop/test etc. Since I am usually doing several things at once, I have no problem with waiting for compilation and so fort.
I apologize if I was unclear, of course that I connected everything with the rest of the App Inventor SDK, and then I made several iterations of test applications.
My warning was for those who might be interested in the subject, and assumed that all they need to do, is to copy/paste provided raw code on their local copy
of ButtonBase, and everything would work.
I do not tend to use my own companion when I am experimenting what idea, or approach, makes sense. After I establish that than I do some testings with the custom companion. It simply seems inconsiderate to me to offer a code that is not properly checked and tested in all possible, that I know of, use cases.
Yes, everything you wrote is as understandable and straightforward as I could hope it would be. On the other hand, I apologize if my writing here doesn't deserve the same epithet. As one can easily guess from my name, I am not a native English speaker, and thanks to Central European literary traditions, my sentences tend to be unnecessary lengthy, thus appearing convoluted, at times even incongruent, instead of being clear and understandable.
I guess, greatest transgressor in that regard, that I can think of, would be Miroslav Krleza, to convey a proper meaning often he would use up to five languages in his works. There is an old aphorism here in Croatia, that he was the only man in history able to write a readable 500-pages long book, using only seven or eight sentences, but I digress.
When I use for example, drawable.setShape(new ArcShape(some_angle,some_sweepingAngle)); in setShape method of ButtonBase class, or any other similar call to underlying Android platform, like having more rounded button corners, or even asymmetrically rounded, everything is fine, and result is precisely as desired.
However, if I use a case statement for calling a method where I am playing with Path and/or PathShape objects, I end up with a default-looking button, so I thought maybe someone else here already faced similar problems, and solved them, and would be willing to share those insights.
Greetings,
Tomislav Tomsic