I want to show a little popup containing the information of the point clicked in a graph which uses AchartEngine for drawing graphs. I am currently showing the point information in a toast but the requirement is to show it near the point in the graph. Is there any such feature in the API or any suggestions how I can accomplish this task ? Thanks in advance.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
The toast sounds like a good way to display information. Toast takes the x and y co-ordinate for it's placement which is kinda neat and what you need. The x/y co-ords are in pixels units in relation to the your screen's width/height px dimens.
You don't need a dialog popup, i believe. Unless you really need user confirmations like OK/Done or Cancel/Dismiss action buttons.
You can also look at fragments to use for your needs.
But i think toast is ideal for your needs. Your choice.