Questions tagged [android-dialog]

Base class for Dialogs. A dialog in Android is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is normally used for modal events that require users to take an action before they can proceed.

A dialog is usually a small window that appears in front of the current Activity. The underlying Activity loses focus and the dialog accepts all user interaction. Dialogs are normally used for notifications that should interrupt the user and to perform short tasks that directly relate to the application in progress (such as a progress bar or a login prompt).

Official Android Dialog Documentation

1460 questions
0
votes
1 answer

I am get this error when i on touch of search location icon

i am geting this error wn i on touch of search location icon in map...i have 3 location. 2 location r my location & client location & i have search editbox.when i search that location it is showing d icon in correct place but wn i on touch of that…
Rao's
  • 1,087
  • 8
  • 24
  • 45
0
votes
4 answers

Set height and width in an Dialog Box?

I am using a XML-layout which I am prompting as the dialog box. Designing of XML-layout is well formatted with enough required height and width.. But when I open it as the dialog box its width is getting disturbed so how to set height and width of…
Rushabh
  • 385
  • 2
  • 5
  • 14
0
votes
1 answer

Opening a file within my app using one of the pre-installed programs

I had searched through different questions here but still didn't get how to approach it. So, basically, I have a file in my app that is displayed as if in file explorer, consequently, when user clicks on it - i want to open it using preinstalled…
Denys
  • 4,287
  • 8
  • 50
  • 80
0
votes
5 answers

Start activity from another activity?

I want in my application this functionality: When i start my app -check if there is interne access : if yes { start LogInActivity { if login is succesfull …
oikonomopo
  • 4,025
  • 7
  • 44
  • 73
0
votes
2 answers

Passing data on button press

I have sort of a file manager. It displays files in a ListView. Each of those ListViews has a custom footer - a button, which is defined in a xml file. Pressing a button allows user to chose a file from the "downloads" directory and copy it to the…
Denys
  • 4,287
  • 8
  • 50
  • 80
0
votes
1 answer

Font Size Issues with Galaxy S3

I am using the code as below to show an popup in my application. final String[] items = {"Vishal", "Android", "Issue"}; Button btnClick = (Button)findViewById(R.id.btnClick); btnClick.setOnClickListener(new OnClickListener() { …
0
votes
0 answers

Dialog with Listview in Android?

I'm trying to create a Listview inside a dialog that populates with an image and two TextViews per row. I don't know what kind of Dialog to use, how to populate it, and set the adapter. I set a few Listviews without dialogs previously on other…
0
votes
2 answers

Custom Dialog with listview and listitems having different background at alternate items?

I am creating a custom dialog having two images as a title and a listview inside the dialog. in that listview there is some items i am showing and now i want that the items in the listview should get different background? like suppose i have 5 items…
Jpm
  • 166
  • 4
  • 18
0
votes
1 answer

android-wheel - Kankan's android picker view doesn't work correctly when attached to my project

I have downloaded kankan's wheel widget as an *.apk from here http://code.google.com/p/android-wheel/downloads/list and then converted it into *.jar file. I have attached this jar as a library to my project. Everything works fine. I can import all…
0
votes
2 answers

requestFeature() must be called before adding error

This one I do not understand at all, I am trying to display a custom dialog with no title like this d.setContentView(R.layout.incident_dialog_layout); d.requestWindowFeature(Window.FEATURE_NO_TITLE); doing this gives me an error 07-25…
tyczj
  • 71,600
  • 54
  • 194
  • 296
0
votes
2 answers

To set background of Custom Layout with an ImageView to Transparent

I am building a Custom dialog box using the Android Developer docs link , for this i made a layout file
jeevs
  • 261
  • 6
  • 20
0
votes
2 answers

ProgressDialog won't dismiss in Thread

I am new to Android dev, and am trying to solve this problem that has been giving me some frustration. I am trying to close this progressDialog. When I run the app, it displays, the information is fetched, and the UI is updated. However, the dialog…
0
votes
3 answers

getSupportFragmentManager failing in compatibility library

I am displaying a dialog fragment in activity, tried using show() and add() methods. The code is given below HelpDialogFragment hdf = HelpDialogFragment.newInstance(); FragmentTransaction ft =…
0
votes
1 answer

sending strings as a parameter of a constructor to be shown in the dialog, Changing the string to table of info

I am using dialog and a there a class called OverlayItem which has a constructor that recive two strings to be shown in the dialog when pressing on that overlay.. I know that when defining the overlayItem we send two string to it. one is considered…
user1413188
  • 91
  • 5
  • 14
0
votes
3 answers

Is it possible to show a spinner or autocomplete textview on popup window?

How to show a spinner or autocomplete textview on a popup window? In my application i need to show a popup window which contains spinner or a custom dropdown list. If it is not possible over a popup window, what is the alternative solution?
Raneez Ahmed
  • 3,808
  • 3
  • 35
  • 58