I want to create a custom dialog like Quick Contact in contact app or the one in official Twitter app. When i click on a button, it will be opened above or below the button.
http://londatiga.net/images/qc-tw.jpg Quick Contact & Twitter
I've read the source code of Contact app but it seems to use internal API. The alternative solution is to extends Dialog class, i can set custom layout, but can't manage to position the dialog. Any solutions for this?
Thanx in advance
Look at this project NewQuickAction3D
The default orientation is vertical, so it will looks much different as you wish. You need to change the orientation in ExampleActivity
from VERTICAL
to HORIZONTAL
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With