This is the code I use to detect when the Keyboard Height changes. Only the problem is that the Statur Bar color disappears and turns white when this ...
This is the code I use to detect when the Keyboard Height changes. Only the problem is that the Statur Bar color disappears and turns white when this ...
I want to draw my layout behind the status bar but not behind system navigation controls panel (at the bottom of display) Right now I use WindowCompa ...
How can I slide in the keyboard? I tried: But it does not work. What am I missing? Maybe some Manifest flags? ...
I use DialogFragment and Inside onCreateDialog return AlertDialog. In different devices my dialog width is different. What is default dialog width ? I ...
I am using two different backgrounds for my app depending on which screen is active. In general the status bar is transparent and the background shoul ...
If keyboard is opened the next code returns true (for showingKeyboard) on Android 11 (30 API) or false otherwise: On Android 6-10 (23-29) it return ...
I want to make my Activity top to the screen, and the StatusBar transparent, so I write this code: My targetVersion is 30 My appcompat version is 1 ...
I have to inherit a custom main activity class which is a 3rd party lib and I cannot make any change to the class. This class adds FLAG_LAYOUT_IN_SCRE ...
I am setting WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS flag in order to have the status bar overlapped with the ActionBar and I have an options ...
When showing the keyboard, the window height decreases and my layout is displayed incorrectly because of this. UPD. I added the markup code, but ...
I am developing a reading app from where users can read multiple types of documents. This app also has a feature to enable full screen by touching an ...
I have code that will take a drawing screenshot of the current window's root view. The problem is, the screenshot is only taken of the activity that ...
This is the code which I use for changing color of status bar icon: Unfortunately it does not work for Window object of a Dialog. Any idea why? ED ...
I want to know when the user is interacting with my app. I've tried to use Window.Callback but I faced an issue with Toolbar. In case we call setSupp ...
I use FLAG_ACTIVITY_REORDER_TO_FRONT to try to switch between activities. Since this is buggy (sometime hide when back), so I try to dive into it. Th ...
The following image is a window of the app https://play.google.com/store/apps/details?id=jp.snowlife01.android.clipboard. i named it as main window. ...
I was trying to create a divider between the navigation bar and my app content when they are the same colour, the way that Google has been doing it wi ...
How to implement ViewTreeObserver.OnWindowFocusChangeListener in a service in Android . The code does not show any type of error when i use it in my j ...
Wait, it is not a duplicate A similar question has been asked here, but not addressing dark-text status bar. What I want to do I want to achieve 3 ...
I want to manipulate the status bar (ex.color) but in the background. I am using a foreground service to do this. Thus there is no window as it is hap ...