My guess is that your LoopRegion views have layout parameters set to FILL_PARENT and the first one pushes the others off the screen. It would help to see the code for how a LoopRegion is created, and perhaps the XML for the parent LinearLayout.
I have added the following: LoopRegion class, and main XML as an edit on the original post due to time restrictions on answering posts for a new user. – Adam Apr 15 at 6:36 Also, the ButtonPress class code that I provided is not complete, but everything that pertains to the drawing of circles is included... Thanks – Adam Apr 15 at 6:39 Since each circle is a separate view, they are being stacked one on top of the other by the LinearLayout. Since you specify no layout params, they get layout_width=MATCH_PARENT and layout_height=WRAP_CONTENT.
You also don't have (or haven't posted) code for onMeasure. (I suspect you have some, otherwise I think the view would be zero height. ) Assuming your onMeasure tries to keep the view square, the first is probably pushing the lower views off the screen.
I'd suggest using hierarchyviewer to check where your views are actually going. – Ted Hopp Apr 17 at 1:33 Also, by using views this way, you aren't going to get any overlapping circles. Perhaps that's the way you want it.
But if not, consider creating a single custom view instance that draws all your circles, rather than a separate view for each circle. – Ted Hopp Apr 17 at 1:35 Ted, thank you so much for response. I have a question though (also I should mention I am fairly new to programming in Android), how is it that my circles are being drawn on separate views?
Aren't I telling each circle to be drawn on the LinearLayout? – Adam Apr 18 at 1:52.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.