Comments (3)
I think if you use the anchor view rather than the mRootView (with a width of 16777214!!) then the QA should be positioned above/below the list item that was pressed.
from newquickaction.
Same issue on Galaxy S 2 ICS 4.0.3
from newquickaction.
I've changed
mRootView.measure(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
to
mRootView.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.EXACTLY), MeasureSpec.makeMeasureSpec(0, MeasureSpec.EXACTLY));
and
int xPos = (screenWidth - rootWidth) / 2;
to
int xPos = (screenWidth - rootWidth);
in
QuickAction.show()
Now it works fine for me.
from newquickaction.
Related Issues (20)
- Android 4.0 Compatibility? HOT 1
- Popup does not use full width on Galaxy Nexus HOT 4
- Animation problem on ICS
- Custom font
- Maven support HOT 1
- PopupMenu arrow does not align
- Dynamically change action items
- how to make it shrink to fit items?
- Is this project dead? HOT 1
- Cannot override back button
- QuickAction menus shift position when scrolled in a list.
- In landscape popup menu appears off top of screen
- How to use with ActionBar item?
- how can i hide/remove actionItem?
- new logo!
- quick
- Background drawables could use 24-bits HOT 1
- NullPointerException HOT 7
- ActionItem icon selector
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 newquickaction.