Comments (3)
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);
from popoverview.
Sorry , I ask wrong question .I need to change the border of popOver. You can see the iPad version on the below.
How can i make something like this.
from popoverview.
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.
http://radleymarx.com/blog/simple-guide-to-9-patch/
from popoverview.
Related Issues (12)
- WebViewCoreThread fatal exception HOT 4
- How can I know which item is selected in popover view HOT 1
- IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first
- How to set click event on textview in popover
- popover position HOT 2
- ViewPager in popoverview HOT 4
- Arrow is coming on popup layout HOT 4
- Button Event handler in popover not working HOT 4
- PopoverView from an ActionBar MenuItem HOT 1
- Is there any option to set the width and heigh like wrap_content HOT 2
- it's better to support fragment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from popoverview.