Android :: Blank Screen Appear When EditText Get Focus In IDPI Mode
Oct 10, 2010
I found that when EditText in placing at the bottom of screen, and the activity's android:windowSoftInputMode="adjustPan", and the apps run in ldpi(240*320) mode, then when EditText has focus, the content of the activity is panned too far to the above, thus leaving a blank screen between the content of the window and the soft input panel.
You can see the screenshot of this problem at
https://sites.google.com/site/wilderwang/android
Also, the source code to repro this problem can also be get at
https://sites.google.com/site/wilderwang/android
When I test further, if the same apps run in hdpi(480*800), when EditText got focus, the content of the window panned too small thus causing the soft input window cover the EditText view. It seems the distance of the window panned not compute the screen density.
View 2 Replies
Nov 9, 2010
I had a older dinc. that had 2.1 on it and it got broke so i got a new incredible that has 2.2 factory on it. i went thru the root process, and rooted it using the guide and everythign looked ok and went thru fine. "s" off and everything. well when you go into recovery mode, it goes to a blank screen and has the two white bars on each side of the screen. i thought i had this fixed with a link that had a update that i ran. now it is happned again. also when i tried to download a new rom and went to install it gets hung up in the htc screen for 45 min and during the process it seems to have bries screen flashes of siff colors... im not a pro at this but when i had my old dinc, never had any problems rooting or changing roms or anything... is there something missing? should i downgrade to 2.1 on this on and try to go that route?
View 1 Replies
View Related
Feb 15, 2010
How can we prevent an edittext from getting focus and displaying the soft keyboard. I have an searchbox which should not be focused by default and should have focus only when user clicks on it to enter something. But right now it takes focus and shows the keyoard as soon as I open the activity. Is this a bug or can this be changed to behave in the way we want?
View 2 Replies
View Related
Jun 9, 2010
I have an activity with two edittext controls. I am calling the requestFocus on the second edittext field since by default the focus goes to the first edittext control. The focus appears to be in the second edittext field (the second one gets the highlighted border), but if we try to enter any characters using the hardware keyboard the text appears in the first edittext control.
View 1 Replies
View Related
Oct 8, 2010
In my application I have a single EditText together with some TextViews, button and a spinner. My EditText receives focus since it is the only focusable view in this activity, I believe. My EditText shows with an orange border and cursor on the field. Now I would like to remove the focus from this field (I don't want the cursor and border to show). Is there a way to do this? I have been able to focus on the button by doing button.seFocusableInTouchMode() and button.requestFocus(). But this highlights the button and is obviously not what I want.
View 1 Replies
View Related
Aug 18, 2010
I am working on an app that has multiple edittext fields and spinners and I want the focus to be switched to the next edittext box down when a selection is made from the spinner above.
View 1 Replies
View Related
Apr 22, 2010
If I want to enforce a maximum length of input in an EditText field, I can use the maxLength attribute. But if I want to enforce a minimum length (in my case, simply non-blank), I find no corresponding minLength attribute. I've also looked at the various 'inputType' attributes (phone, password, etc) but I don't see anything like 'required' or 'non-blank'. I can't believe this would require a custom input filter; it's more likely the answer is so obvious it just doesn't get written down in the form I'm asking the question.
View 2 Replies
View Related
Sep 2, 2009
The home screen of my Android application has three EditText views, meant to be used as three different search functions, each with a "Search" button. The app works perfectly on the device (G1) when using the trackball: I can move between the EditTexts with the trackball, all the events fire as expected, I can enter text using the physical keyboard in the selected EditText, Enter correctly submits the proper search, etc.
However, I can't switch between the EditText views using touches - only by using the trackball. Touches seem to be completely ignored by the EditText. Touches do fire for the buttons, but very hard - takes a lot of tries to make a touch register. In the simulator, clicking on any EditText does nothing - the first one always remains selected, and I never get a soft keyboard. This is all inside a TabHost - I've read there are some problems with that configuration, but it sounds like a slightly different issue (the EditText doesn't seem to lose focus - everything works perfectly with the trackball).
View 2 Replies
View Related
Apr 28, 2010
I make ListView that has some items that has one EditText and one ImageButton. When touch the EditText in ListView's Item, Keyboard was appeared but EditText lose focus. What can I do for resolve this problem? I can use ScrollView instead of ListView by addView in ScrollView. And in ScrollView, when I touch the EditText, keyboard was appeared and EditText keep the focus. But I must optimize the list because the list may has many items. In ListView, I can optimize list in getView. But in ScrollVIew, there was not way to optimaize list. So, I must use ListView.
View 2 Replies
View Related
Mar 8, 2010
I'm showing an input box using AlertDialog. The EditText inside the dialog itself is automatically focused when I call AlertDialog.show(), but the soft keyboard is not automatically shown. How do I make the soft keyboard automatically show when the dialog is shown? (and there is no physical/hardware keyboard). Similar to how when I press the Search button to invoke the global search, the soft keyboard is automatically shown.
View 2 Replies
View Related
Apr 22, 2010
I am implementing one application gust i am adding validations in login page implemented then two fields required username and password button login i am applying validations then focus are not getting then set focus in unfilled edittext
CODE:.............
Not filling username then filling password then username entered some toast displayed fine focus are entered in username edittext this is the problem how can implemented focus in unfilled username.
View 2 Replies
View Related
Jul 19, 2010
I can't seem to focus on anything closer than 4 inches, even if there's nothing behind it. Touch-focus isn't helping either. Is there a macro mode?
View 1 Replies
View Related
Apr 22, 2010
When I input text for SMS the text block goes blank when I flip the phone to landscape mode. Any ideas? When I flip it back to portrait the text appears again.
View 1 Replies
View Related
May 21, 2010
Here is my problems:
1. when i click "done" btn, nothing happen
2. when i click "enter", the input box only add a space instead of newline
[image: bug_1.png]
[image: bug_2.png]
View 2 Replies
View Related
Jun 2, 2012
ICS blue battery icons for idpi device called samsung galaxy y (sgy) we does not have cm7 and cm9 .
View 1 Replies
View Related
Apr 29, 2014
i have tried to install kitkat version for galaxy y duos s6102,for that i installed clockwork mod n cynogenmod n kitkat file..but after installing the screen goes blank,nothing appears except Samsung logo screen,
View 2 Replies
View Related
Dec 2, 2010
This was reported in the other thread about X8 Issues, but thought to start a new one to gather feedback from users. It's about the ''black screen'' freezing issue encountered by some users. I have had this several times since owning the phone for a few weeks, so it is a recurring issue. Problem: The phone hangs or appears to be shut down or become unresponsive suddenly. Pressing the hardware buttons doesn't help as the phone doesn't react at all. Solution: Take out cover and battery and restart.Observations: From my own observations, it's not actually a shutdown but a major freezing/hanging. Sometimes when it happens, I can still see vague shades of the display at an angle. After leaving the phone for a while in the pocket, the phone comes back to normal again. Not sure if this is true for all users with this problem. Anyway, gathering more feedback to see how prevalent the problem is, to evaluate whether I should take it to the SE service centre, or whether doing so will help at all.
View 3 Replies
View Related
Sep 16, 2010
My app has one activity and one ContentProvider, the activity is simple in that it's just a splash screen at the moment with no other logic in it (I do intend to have more activities in the app). The ContentProvider uses SQLite as a back end and loads some static data from files on first install, a slow process due to file sizes and database initialization. My problem is that I want the activity to show up as soon as the install starts and maybe display a progress bar or dialog to show the user progress about the install. At the moment I get a blank (white) screen while the ContentProvider is initialising the data which takes quite a long time and I get "Activity idle timeout for history record" warning in LogCat. My splash screen only shows when the Content Provider is done, from the app standpoint this is undesirable behaviour. One potential solutions would be to manually start the provider via an AsyncTask but I have a feeling that this is a bad approach due to the fact that if the activity is interupted and restarted while the install is underway and a new AsyncTast is created through the activity's onCreate() then I'll have worst problems on my hands. Is there a way to start the content provider in the background and display my splash screen activity straight after the app is started? Note that this problem is only an issue on first install.
View 4 Replies
View Related
Apr 6, 2010
While opening my application from application launcher. Sometimes I am getting blank screen for long time (almost 3 min). If I perform some key events then I am getting ANR. Log is as follows.
I/ActivityManager( 57): Starting activity: Intent {
action=android.intent.action.MAIN categories ={android.intent.category.LAUNCHER} flags=0x10200000 comp={com.test/com.test.MyScreen} }
E/JavaBinder( 57): !!! FAILED BINDER TRANSACTION !!!
After this I am getting activity launch timeout and Idle timeout. Is there any design issue with my activity or problem with android environment.
View 5 Replies
View Related
Mar 5, 2009
I tried a simple mediaplayer application, just to run a .3gp file. First, i put the .3gp file in "Raw" folder and tried to run, but nothing is displaying, just blank screen only.... please guide me, where i am going wrong. I dont have any xml file, is it needed ??
Heres the code, which i am trying
CODE:....................
View 9 Replies
View Related
Apr 25, 2009
I've got a basic list activity with a few images that when you select one starts a new activity with a SurfaceView (based on the Lunar Lander sample). Some times the screen is just blank, from some debugging I can see that the background .png is being loaded and doDraw() is being called by the activity doesn't display anything for anything from 4 to 20 seconds. Other times the game activity is loaded just fine. I assumed it was some kind of garbage collection problem but I can't see anything in LogCat and the second activity is actually loaded, just not displayed for some reason.
View 2 Replies
View Related
May 7, 2014
The problem is that I have created multiple emulators using android 4.4.2 API and none of them show anything but blank screen..I tried an AVD with Google API 19..thats not working either..
View 1 Replies
View Related
Oct 11, 2010
I have a GridView displaying buttons to different screens of my app. When this grid screen, the first cell is selected. Is there a way to programmatically have no cells selected when the screen launches? Or do I have to hide the selector?
View 1 Replies
View Related
Dec 2, 2009
i am writing a widget and trying to prove that it doesn't run when the phone is in deep sleep as i am setting an alarm with type ELAPSED_REALTIME. when i hit the end call on the emulator the device screen goes blank, but i still see my alarms being delivered. am i missing something?
View 4 Replies
View Related
Jul 16, 2010
I am facing a problem.In my application I have 3 actvities A,B,C which i have declared as singleInstance.I have observed that for the first time when I launch these activities(like A > B or B > C) there is a delay observed and I see a black screen for a while.
I see in the blanch screen the header text that gets displayed is the application name which i have given in the android manifest.xml(android:label="@string/app_name")
I amy unable to understand why this blank screen is observed? Experts please comment on how to avoid it.
View 3 Replies
View Related
Jul 10, 2010
Phone - HTC incredible 2.1 no root
I love flikie wallpaper hd app but for some strange reason it fails to load an image sometimes and I just have a blank black screen that stays until I manually change it. I have 400+ wallpapers that I have set to change every 30 min and no I don't have a solid black wallpaper. Anyone else have this problem? Have a solution?
View 2 Replies
View Related
Dec 16, 2009
We are developing an application that requires a download of a music file (mp3). We are using the Browser Activity for the same.
The Browser Activity is invoked from the application and the download url is passed to it, like: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(downloadurl)));
However, after downloading, on the download list page, if we press the Back button, a blank white screen is displayed. Only after we press the Back button a second time on this white screen, the application screen is displayed. This happens because the Browser Activity view is displayed before the actual downloading starts.
This is an issue in the application flow. We need to manage the flow in such a way that the 'Back' key press on the download list view will take the control to the application screen instead of the white screen.
View 3 Replies
View Related
Jul 14, 2010
Some background info: I got an HTC Evo a few days after the initial launch. I had no problems with the screen at first at least for a few weeks. Then all of a sudden, the screen would go blank after I took the phone off the charger, or would finish a call, and a few other instances. After dealing with that for a little over a week, I took the Evo back to sprint and got a brand new one. I looked all over the forums, but could not find any answers. I know some others are having this issue, but it doesn't seem that widespread. So I get the new phone, and for the first day, I don't install any of the apps I had on the last phone because of a lack of time. No problems to report the first day of use, so I think I'm in the clear. The next day I start installing all of the apps I had on the first Evo, and bang, it starts to happen again. The screen goes blank, and I can do nothing to turn it on except to pull the battery out and restart the phone which is a monster pain. After all of this, I have to think its a software issue. Some app I have running could be causing this? How likely is it that 2 Evo's have this exact same problem, and that it's hardware related? Here is a list of apps I have installed on my phone: maui9111's Apps on the phone. I tried uninstalling several of them, but still can't find the solution. Anyone have any ideas? I love this phone, but this issue is driving me nuts!
View 13 Replies
View Related
Mar 15, 2010
WARN/WindowManager(61): No focus window, dropping: KeyEvent{action=0 code=82 repeat=0 meta=0 scancode=229 mFlags=8}
View 2 Replies
View Related
Jun 18, 2009
I'm running a standard camera preview (i use the camera api demo as a reference).
When i hit the capture button, there is a black screen for a good 1/2 second until the captured image appears.
My question is how can i freeze the last image being previewed on the screen while i do the capture work ? I don't mind that the quality of the displayed image is not as good.
If i hit camera.stopPreview() -> that goes into the black screen which i don't want.
View 2 Replies
View Related