Adding A Custom Rectangle To A Custom Relativelayout
I have a custom RelativeLayout, where i want to dynamically create Rectangles. They arent shown in my current code, but i dont know whats the reason. Custom RelativeLayout: public
Solution 1:
I think you are missing to set your Shape's LayoutParams
. Try tho create a Rectangle
object, set its width + height and then add it to your RelativeLayout
:D
Post a Comment for "Adding A Custom Rectangle To A Custom Relativelayout"