Android :: Setupe Position Of A AlertDialog Off Screen At Top In Droid?
Jul 1, 2010
I want to set the AlertDialog position behind the status bar, when the content in my Dialog will increase, How to do that? I am creating a custom AlertDialog using my own layout.
View 1 Replies
Sep 29, 2010
On my htc i was looking through display, i see g sensor calibration and i perform this calibration and after i do so the screen seems to have a delay when switch from the horizontal position to the vertical position. its weird because when i switch to the phone horizontally it switch normally and responds fast. but when i switch back to vertically it takes almost 7 seconds to actually switch back, sometimes it switch within 2 or 3 secs but never as quick as switching horizontally.
MQuote:
Originally Posted by Rigmaster
Make sure you have the latest updates, which impact speed on the device in some unpredictable and unexpected ways. During system updates, your Evo may reboot and will take the g-sensor changes as last calibrated.
If you're already updated, shut down and repower (soft reboot) should do the trick. I actually updated my phone and after it started to do this. I restarted the phone plenty of times i even took the battery out for 30 seconds. It only does it when im texting on the browser, basically everything but the camera. He camera screen rotation is perfect. I even rooted the phone but i havent figured out how to use the root to fix the problem. Should i do a firmware update? Because i just did the htc software update.
View 1 Replies
View Related
Mar 12, 2010
I am trying to figure out what is the best way to go about creating dialogs. I can either create my own Dialog class (which, to me, is more clean and organized), or I can use AlertDialog.Builder (which would be done inline, and funky looking)... What are the positivies and negatives of either implementation?
View 1 Replies
View Related
Sep 9, 2010
I want to display an alert in the call screen when the user initiates a call.
Currently I have:
- A class MyAlert extends Activity to view and process the alert
- A class CallReceiver extends BroadCastReceiver to process the call
From CallReceiver, I launch the alert with startActivity on MyAlert. The problem is that the alert appears in my main activity, so we don't see it at the right time, but only if we open the app, what is totally useless.
View 1 Replies
View Related
May 29, 2009
I've got something simple where I want to raise an AlertDialog after catching this keypress:
CODE:............................
The interesting thing here is that when you hit the back button, you *do* see the AlertDialog for a split second, but then you're back at the previous screen you were at. Almost as if the system is hellbent on sending the user back to the previous screen, regardless of what the developer has constructed around this event. I'm using 1.5r2 here.
View 6 Replies
View Related
Jun 25, 2010
After the OTA and a factory reset my screen dims when I tilt the the phone in camera mode. It's fine when the phone is vertical but when I go to take a horizontal landscape shot it dims the screen to black. It will do the dimming proportionally to the angle the phone is rotated off the vertical axis and front to back (freaky) It will still take the shot but I have no idea how centered I am on the shot. I changed auto dimming to "off " but it still blanks it.
View 7 Replies
View Related
Aug 13, 2010
It seems when screen orientation changes, the activity's onCreate() method is called. In my onCreate() method, I have an AlertDialog which pops up when the activity is called. The problem is when I switch the screen sideways, the popup is displayed again. How can I avoid this?
View 1 Replies
View Related
Sep 7, 2010
In my app I draw an image covering the entire screen. I want to now how can I know where the user touched the screen?
View 2 Replies
View Related
Nov 4, 2009
View.getLeft() and View.getTop() give the position of the view relative to the parent.
Is there a way to get the absolute screen position of that view?
Either a way to translate those coordinates into screen coordinates to make a call to get the position in screen coordinates.
View 2 Replies
View Related
Aug 22, 2009
I have an activity which I have defined to keep in portrait position.
However I would still like to change things (slightly) when the screen is rotated, what is the best way of doing this? I notice onConfigurationChanged is still called, but this still reports portrait mode.
I want to keep the notification bar etc in the same position if possible.
View 4 Replies
View Related
Oct 28, 2010
I have a large image on the screen and I want to display a small image on that image where I touch the screen. but I do not know how to change the position of the image when I touch on the screen and the small image must display where ever I touch on screen.
View 3 Replies
View Related
Nov 3, 2010
I am using these three lines to add a compass on the MapView: mMyLocationOverlay = new MyLocationOverlay (this,mapView);mMyLocationOverlay. enableCompass(); mapView.getOverlays() .add(mMyLocation Overlay) ; However the default position of the compass showing on the screen is not too good for my apps, and I want to move it to somewhere else. Anyone knows how I can achieve that?
View 2 Replies
View Related
Apr 5, 2010
I have a custom component which consists of 2 text view and 4 toggle buttons. I want to draw this view at some specific position on the screen. How is that possible?
View 1 Replies
View Related
Oct 14, 2009
I would like to add a vertical scrollbar to an AlertDialog because my text is too long to display on 1 screen:
View 1 Replies
View Related
Nov 22, 2009
I am trying to create a small pop-up in my Android application to let the user choose from one of many items, ala a ListView. I am hoping to make it show up as a translucent box that overlays on the screen, as opposed to completely occupying it like Activities usually do. One technique for doing this that I've heard is possible is to launch an Activity in an AlertDialog box. This would be perfect - it's the ideal size and has a lot of the mechanical properties I'm looking for, but I'm totally unable to find any more specifics of this technique. Is this possible? And if not, what is the preferred way of accomplishing something like this?
View 3 Replies
View Related
Sep 18, 2010
So I have had the Incredible for a while now and I absolutely love the phone. The only thing that has really bugged me from day one is the positioning of the home screen. The phone is suppose to be fully customizable but it seems that the one thing I have yet to figure out is how to change where my home screen is located. I would much rather have my home screen set as the left most screen instead of having it directly in the middle of my seven available screens. You know, sort of like how the iphone is and what not. Does anyone know if something like this is possible?
View 1 Replies
View Related
Jun 6, 2010
When i slide to the right i get my contact screen. I want to move the screen with my extra apps to that position. how do I do that?
View 6 Replies
View Related
Jun 3, 2010
I've build an AlertDialog which shows three items. code...
I've searched on stackoverflow/the inet but the solution that was meantioned there was to pass the applicationContext of the Activity to the Dialog (which i did in this case, i saved an reference of the activitys applicationContext in a private variable: myActivity.savedApplicationContext
View 1 Replies
View Related
Jun 16, 2010
I was sitting at my local Dunn Bros surfing the web on my EVO when I noticed a line that divided the screen in half. If held in the landscape postion the line divided the screen left right and if in portrait upper and lower. As time went on I noticed a lot of off color streaks that ran the length of the screen. Now about an hour later the whole screen is very washed out looking, and no my brightness is not on high either. Text is almost unreadable. It almost looks like when you take a magnet to a CRT screen. And no my EVO has never gotten wet, dropped, or abused in anyway.
Anyone out there experienced this. It really sucks because I don't have the screen separation issue or any other issues that people are experiencing but now my screen is completely dying.
View 16 Replies
View Related
Jun 11, 2010
In my app I bring up a context menu on long click in a ListActivity. One of the options "Priority" pops up an AlertDialog with 3 radio button choices. The problem is, it displays an empty dialog box without my 3 choices, or the message that I set. Here is my code...
If I replace the .setSingleChoiceItems with a positive and negative button instead, it displays the buttons and the message as expected. What am I doing wrong in setting up my list of radio buttons? Here is my calling code as well...
View 1 Replies
View Related
Feb 8, 2010
I have got one big problem with the touch input of my Hero. The screen is too sensitive. I can navigate on the screen while my finger is about 5 cm away from it. I can choose what I want, but the screen takes the right horizontal position of my finger, but not the vertical. Anything I want to take, the screen takes the one on the bottom of the screen. The same when I want to write a message or something like this. I choose the "W" or "E", but the screen takes the "X" or "C". If the display goes on Standby and I wake it again, everything is good for a few seconds, but than the same mistake comes again. I already tried to wipe and install a new MCR, but nothing helps. I think, but I am not sure, that I have that problem after I have installed the htc keyboard on android 2.1, as I tried it for a few hours.
View 5 Replies
View Related
Aug 13, 2010
I need to get the touch begin position (X, Y) , touch move position and touch end position of the screen in android.
View 3 Replies
View Related
May 25, 2010
I want to created a wrapping text ontop of google maps api. I have been able to do this with a lot of code, but have been working on a better way. My latest attempt is to use the StaticLayout class and the text is wrapping, but I do not know how to position it...no matter what I try it is always starting in the top left corner of the screen....
View 1 Replies
View Related
Apr 16, 2010
I've got another question regarding to basic Android programming:
How can I access the GPS for getting the current Position of the mobile phone the app is running on? How long can this take to retrieve the information?
In this case the GPS might be disabled, how can I enable/disable it again.
Which permissions must be granted in the android manifest?
View 3 Replies
View Related
Sep 4, 2010
I have one EditText, and I want to get the current column position.
I am using SDK 1.5
View 1 Replies
View Related
Jul 26, 2010
On the applications screen, (the one which you drag up from the bottom of the home screen), is there any way to create folders there and re-organise the position of apps? I know that you can create folders on the home screens, but this isn't what I want to do. I would love to be able to create a folder that I can dump all of the programs I will never use but which Sony will not allow me to delete, (you know the ones - moxier etc!!)
View 6 Replies
View Related
Jul 23, 2009
How to change candidateView position in android softkeyboard?
View 2 Replies
View Related
Mar 24, 2010
When i use toast to display some text on screen it displays little bit above the bottom(default position).
now i want to display it in the middle of screen or according to my choice can any one guide me how to achieve this?
View 1 Replies
View Related
Apr 21, 2010
I was wondering if it is possible to start a ListActivity and in real time decide how far down the list it should be focused on. (Example: When the activity is started it checks for certain conditions and then it may scroll down to a row partially through the list.)
View 1 Replies
View Related
Apr 7, 2010
Is there a way to absolutely position an UI element on Android so that it is located outside an Activity? For example: can you create a fullscreen ImageView simply by moving/resizing an ImageView inside an existing regular Activity instead of creating a new fullscreen activity?
View 1 Replies
View Related