Is there a launcher or some software which would ignore top 1 cm of the phone screen?


Question

Our infant son threw me wife's phone. Since then the top 1 cm row of the screen is no longer responsive to touch. The display works perfectly, but touching it has no effect. Because of that she can no longer swipe down the notification tray in portrait mode. She has to open some app, rotate to landscape orientation, and swipe down.



Some apps which do not rotate or reorients the buttons in such a way that it is always in unresponsive zone are impossible to use. We can use split screen as the last workaround sometimes.



Anyway. I was wondering if there is any app for Android which force the whole OS to render in the responsive region only. I can manually select the responsive rectangular region. (Buying a new phone or changing the screen is not an option right now.)


Answer

When I had this problem, I think I learned from this answer.






One option is to use adb, i.e., the command line client/tool that comes with the Android SDK. It does a variety of things, but the thing that is most relevant here is the ability to use it to reconfigure your display.



Specifically, you want to access the shell commands to change the window manager's overscan setting with adb shell wm overscan L,D,R,U.



So you will want to use adb shell wm overscan 0,0,X,0 to push the top of the screen down by Xdp.



You can revert to normal with adb shell overscan wm reset or adb shell overscan wm 0,0,0,0.



If you don't know how to adb, it doesn't take much to get to the point where you can type that command in. I can relate because I used to have a device that had a partially functioning screen and I spent a lot of time rotating the phone and using this!



Within Settings > Developer Options is some options that will help you diagnose the problem, such as Show Pointer Location, or perhaps Show Touches. Or you could create a small app that simply displayed touch input.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes