I am trying to make a application where a dialog will come from where user will be able to choose an option...
I want the alert dialog like this,,,
An image with the corresponding text
Here is the sample image I am looking ..
http://garr.me/wp-content/uploads/2009/12/sharevia.jpg
I also want to change the "share picture via" text.
Thanks in advance
Tanmay
Please see my answer to this question: android image inside single select
Related
I am a new developer and I want to build an app for a personal purpose.
I would like to receive some input when the application load up on with dialog box with textbox for input only number and 1 button "Ok".
I tried to find solutions but could not so.
Thank you for all !
Android do built in alert dialog. What you need just inflate your custom layout to create alert dialog. You don't have to add your custom button which android also provite negative(some cancel action),positive(some comfirm action),neutral(which is something work like default) button for you. Which you just need to study the link.
Can we add any other extra options like set wallpaper or add any extra button to action bar for mobile gallery programmatically in android. In my application i have a grid View with num of images taken from mobile gallery.
When grid view item click it directly navigate to image location which is mobile gallery. I have done this using concept MediaScannerConnection.
Now I want to add extra option to mobile built in gallery.
Is there any possible ways to do this?
Thank you and sorry for my English.
You can use Image to set wallpaper. Similarly the image can be used as "set contact pic" or "set as app icon", then you will select the app you want to change its icon. change icon of any app and use ur own icon search this in google u have to write code for this..but this is hard...
How can i create a combo box in android like the picture bellow?
I can see only spinners in android. but i want like the picture.
Any one can help me??
Create a custom button, and on click show a popup with a ListView within it.
Also on click make the popup appear below the button.
NewQuickAction3D is a small android library to create QuickAction dialog with Gallery3D app style.
try this
hope help you..
I am developing a chat application. And i want to have pop up window with smileys in it so that when user clicks on one of smileys it will be inserted to edit text box.
Does anyone know sample code for it?
I wanted code for both pop up window and code to embbed smileys in an application.
(same as in case of yahoo which has smileys.how to code for it and how to store them in database and all)
Take a look at the PopupWindow. You'll want to use it in similar fashion to this tutorial here: http://www.mobilemancer.com/2011/01/08/popup-window-in-android/.
I would populate it with your drawable images, and then attach to each image you create a onClickListener that would insert the smiley into whatever text window your using.
I'm not an Android expert, and I'm still learning myself, but this is one approach I would investigate.
I would like to put an image in the footer frame of the alert dialog.
can someone please tell if it is possible, and how?
I know it is possible to create a custom dialog, is it the only way?
Have a look at this, which gives a idea to create custom alertdialog.
http://android-er.blogspot.com/2011/06/custom-alertdialog.html
try to find method related to load a image in alert dialog box and then call that method with the object of AlertDialog.Builder and give image path in that...I dont know whether it will work or not but still we can try it...