Android - black screen conflict with app background - android

I am using a WebView to load my local HTML file. I deployed this in the Tab, a black screen appears during scrolling and selecting the EditText.
After doing some homework I found out this, it is a conflict with the Android theme. The black screen is the theme, if I change it to transparent
(ex:android:theme="#android:style/Theme.Translucent) then a transparent screen conflict.
I tried a lot to solve this but couldn't. Please let me know if there are any solutions?
This is not for WebView even when i put few edit text in a layout and select it and scroll same black (android theme) screen appears.

When you try to open new tab
new activity is launched but webview is not loaded at that time
so in between this time you get the black screen
can you post the code

Related

Android : White screen on app reload. How to avoid?

I've read every questions on this site about how to put a splash screen on app start-up to avoid the white screen problem. However the white screen still pops-up when the app has been in the background for a while. Is there anyway to either make it transparent or redirect the app to the splash screen if the app has been in the background for a while?
To get rid of the white screen which is because of android's cold start, and appears when the app loads to memory, you can add the following style item to your AppTheme.
<item name="android:windowDisablePreview">true</item>

Unusual behavior display while showing pop up screen in jquery mobile

I am implementing pop up screen .But when i click a button My pop up is show .But when i click the field which is present on pop up screen .it show keyboad
along with my background image .I didn't add any background image on that page .I only add background image on different pages but it is show in that page when i scroll the pop up screen
i don't provide my code because it too large.Can you please idea how it is possible .actualy i check on browser it is working fine problem is android device!
This is not a image. Actually jQueryMobile adds a border to the active input field. You can change this via CSS. Please see the link jQuery Mobile border on select text input
It is not an image those lines are the lists that are created automatically for some reason you can check there will be some code for it in your code put it on git.

Android splash screen before white screen

my problem is In android mobiles when click on my application it is need to show the splash screen but in micromax a110 when I start the application an white screen is coming first then after only the splash screen is appearing. But For my application I need to display only splash screen not any white screen. The application is containing the html,css and javascript coding. SO please suggest any solution for this issue
<item name="android:windowDisablePreview">true</item>
put this line in your style it prevents white screen from opening before splash
I have the same problem. I have found that white screen is due to loading of DOM. In this case solution is to show a simple HTML page first which would say something like 'loading..' and then load your actual page with full of css and javascript.

Android Navigation bar appearing when in full screen

In my application, I have set it up in the XML so it is in full screen using
android:theme="#android:style/Theme.NoTitleBar.Fullscreen"
Now this works fine when the app opens, however if while using the app, I use the home button to back out of the app, and then open it again, when it opens, a black navigation bar will appear for a second or two before disappearing. This does not occur if I exit the app using the back button, just the home button.
Does anyone know why this happens? I have tried doing it from code instead using
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
//Remove notification bar
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
However, what this does is removes the title bar, but the black bar is there at the top, just nothing is in it.
I.e. this bar
I tried combining the code, by putting the full screen line of code in the XML and also adding the code I showed above into the app, but same thing happens. If I back out of the app with home button and enter it again, that black bar will appear for two seconds temporarily pushing the app and its contents down before righting itself again.
How do I go about fixing this? I have been trying loads of different solutions, but nothing seems to work.
Thanks in advance
Seems to a bug with Android OS. Only way to fix it is go to device, settings animation, and disable animations.
try to remove animation by setting->brightness->animation
set no animation there

Emalator and Phone Shows More Icons for one application?

can any body tell me the solution for this , my problem is when run the application i my emulator in menu it display's more icons nearly 18 icons for one application. tell me the solution for this.
Edit Ans:
I defined each activity the main and launch property, because of that i got every activity being shown as an icon in the applications.
If they are just shortcuts which appear on the desktop, then left click on each one and drag it down to the bottom of the screen, where a 'trash can' icon will appear. Dump them in that.

Categories

Resources