I used android default tab in android application.
I used tab at bottom of screen as we look in iphone app.
I am getting one issue with tab ,
When screen lock/unlock , tab get half cut.
I tried hard to solve it myself but everything was useless.
Can anybody help me ?
Here you can look at my tab screen.
Before :
========
After screen unlock
Thanks in advance.
Related
I don't know if this is the right place to ask for a solution.
I have a weird bug on Samsung S9 Android 8.0:
The area for the 3 Buttons (Menu, Home, Back) is blocked for some apps, so their UI ends on the top border of this area although I set these buttons to not fixed so that I have to swipe up to see them. One of these apps is Instagram.
Also, there is the problem that the outline of some UI is shining through the current UI of each app, no matter which app is currently running. This UI is always the same. I removed all UI elements from an app I'm working on so that I have a completely white screen. Then I made a video because on screenshots the UI fragments are not visible:
https://der-magere-student.com/public/media/WIN_20210115_02_29_04_Pro.mp4
On the bottom you can see:
In more or less black: the android menu buttons (BUT NOT THE REAL ONES, the real ones are hidden until I swipe up)
In more or less white: 4 of the five toolbar button of Instagram (home (house icon), the magnifying glass, the Plus (inside the android home button), and the heart) The fifth is not visible
On the top you can see:
The right side of the WhatsApp toolbar: From right to left. The more icon, the call icon, and the video call icon
horizontally centered with a bit offset from the top display border you maybe can see a little bar. I don't know where this comes from
There is a lot more but it's not visible on the video and also not identifiable for me. But I can see something.
Does anyone know where this bug comes from? Is it known? How to fix it?
You're looking at OLED screen burn-in. It's not a software problem; it's actually wear on the screen that happens slowly over time.
The UI you're seeing at the bottom of the screen is Android's navigation buttons, which are particularly notorious for getting burned into the screen (see, for instance, this image from this article), because they're always in about the same spot. Newer versions of Android take measures to reduce the burn-in from them, but there's only so much that it's possible to do.
Try opening something that shows a white screen with the navigation buttons hidden: you'll see the same thing.
On android , is it possible to create a opaque filter that displays only half the screen ? Think of it like a half screen advertisement in black allowing you to see only half the screen and working on a service i.e in the background.
Any code for this would be helpful as i am a bit clueless.
I am working on an Android app. When I slide the screen right I get a blank grey screen and when I slide the screen left I again get a blank screen with some of my content on it. I have attached pictures of the problem to better understand it.
I want to solve this problem via CSS if possible.
Second:
First:
i am developing a game App using cocos2d android. After loading screen i have a menu screen and two more screen i need to get some effect like After the splash screen when it moves to next screen i need something like rotating or moving towards right/left How can i do this can any one suggest me? How to get this effect when moving from one screen to next activity? Thank you in advance and your answers will be appreciated.
Hi I hope this help you. In this code i used splash screen moves to left and next screen comes form right side of the screen
CCDirector.sharedDirector().replaceScene(CCSlideInRTransition.transition(1, MainMenuScreen.sence()));
I do this in my application using flip animation
you can use flip left in and flip right in, fade in or fade out animation in the activity.
use overridePendingTransition(R.anim.fadein,R.anim.fadeout);before the activity start
Got solution!!! just use the below code
CCDirector.sharedDirector().pushScene(CCSlideInTTransition.transition(1, scene));
I am using this link! for cropping an image and after getting the cropped image somehow whole layout moves about 20dp upwards and hides behind the status bar (this is random behaviour i.e happens sometimes) I tried many things to fix this problem but couldn't get to the solution, mainly because I dont know what is causing the problem.
This is a device specific problem, occurs occasionally in galaxy s and htc desire but frequently on samsung Ace. I tested app on samsung note and htc desire HD it works fine no such problem in these devices.
There is one more thing I should mention here that is: when layout hides under the status bar if I popup the keyboard by clicking on textfield layout gets back to normal i.e hidden area gets visible again. I cannot attach the image but found similar question Android - Status bar hides part of view sometimes exactly this is the behaviour of my layout.
Note:Recently i found out that camera activity is causing the layout to move upwards. To verify this start camera in samsung Galaxy Ace and just press back and note the layout movement in icons of home screen.
I have fixed the problem by using crop method inside the camera activity check this Set Camera Size - Parameters vs Intent? last answer of the post helped me to solve the issue.