How to do this — does anyone have any idea of how to do this in tablets honeycomb?
EDIT= is it possible in android in possible how to do this.
and this
edit:how load another activity(Mapview (or) Any other activity) with in the popup dialog. when i click button?
Yes, you basically have to create custom dialog boxes and implemnet as per your requirement
Check this link for custom dialog
Related
I'm working on an android app , we need a custom dialog box to input some settings once in a while . This custom dialog box need to be hard to find so only some users can find it , like a onLongClick somewhere .
Any Ideas ?
Just think out of the box, what android users are not familiar of something that is not user friendly, the LongClick action every android users do long clicks so do something like a swipe up or down on a button or image be creative :)
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.
I would like the dialog asking for permissions to be full-screen, is it possible ?
try
Dialog dialog=new Dialog(this,android.R.style.Theme_Dark_NoTitleBar_FullScreen)
this will set dialog to show with full screen.
(if I understand your question properly...)
I do not think that we have control over how the Android Manifest Permissions are shown to the user.
As far as I am aware, this is done by the Google Play Store app, and is based only on the permissions declared in the manifest.
You can create custom dialog boxes.
There are answers already available on stackoverflow.
Check this -
How to create a Custom Dialog box in android?
create an activity and set its theme as dialog
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..
Hi I want to make a custom dialogue box for my android application and want to populate it with buttons, check boxes and such kind of items.
I have followed the tutorial from android developers website, but that is not what I want, actually I want to customise the background and size of the dialogue box.
Please if any body could give me a head start, Plus I want to know when I design a background for that box, what dimensions and pixel numbers I use so that it may run the same in Galaxy Note, Galaxy S and tablets and other mobile phones running android.
Here is the picture of customised dialogue box. Like that I want to work out something.
Yes this is a good question. You must use a custom dialog with a transparent bg theme like these:
Dialog dialog = new Dialog(mContext, android.R.style.Theme_Translucent_NoTitleBar);
dialog.setContentView(R.layout.custom_dialog);
dialog.show();
where custom_dialog will be your XML for the dialog layout, and as far as dimensions go you should really test your app on a number of different screen resolution devices to ensure it displays as you want.
On occasion I have wanted to create a fully customized dialog such as the one you've shown.
When I had to do it, I fought for a while trying to make it a Dialog. In the end I found it was far easier to just wrap my dialog in its own activity, set it to theme transparent in the manifest, and make the layout xml file such that there was transparent space around the edges. That was the easiest way for me to get rid of all of the default dialog formatting (i.e. the frame that it comes in if you do it with the setContentView() route)
So while it is not technically a dialog any more, to the user it serves the same purpose.