Closed mustafaerturk closed 10 years ago
You can set the popover size to stretch or to a certain size:
For example, to put the size 320x340 points:
popoverView.setContentSizeForViewInPopover(new Point(320, 340));
popoverView.showPopoverFromRectInViewGroup(rootView, PopoverView.getFrameForView(v), PopoverView.PopoverArrowDirectionAny, true);
Sorry , I ask wrong question .I need to change the border of popOver. You can see the iPad version on the below.
I have to make this
but ı got this
How can i make something like this.
You just need to correctly edit the black borders in your 9 patch image for the box. The left and top border describe what area is resized. The right and bottom borders describe where the content is placed. Please take a reading to this article explaining how the 9patch images work in Android.
is that possible change the frame of popoverView ?