Sketchware: Stop Keyboard from appearing on startup in Apps with Scroll and Edittext blocks

In Sketchware, if you have a Calculator App or any other app in which you have used an Edittext widget inside a Scroll layout on a page, you will notice that when the page starts, the on-screen keyboard pops up automatically without even touching the Edittext.

It happens because in this version of Android, when a view is inflated, the focus sets to the first focusable control by default; and if there is no physical keyboard, the on-screen keyboard will pop up.

In the latest version of Sketchware, it is very easy to fix, though it may not be possible in older versions.

In order to fix this, in Sketchware App, open your app for editing, go to view manager, choose the page (xml) on which you have to fix the problem of keyboard popping automatically, and set Keyboard state to hidden. Save and run your app, you shall find your problem fixed.


Komentar

Cara pembuatan Apps paling Populer

Create Stopwatch App in Android using Sketchware

TextInputLayout in Sketchware

How to find and​ highlight a word in a text field in Sketchware?

A Flash Light App in Sketchware

How to enable download in webview in Sketchware apps?

Intent - Open File By Type

Code for implementing Notifications in Sketchware

How to share an image from Drawable folder?

ActionBar back button

Animation Transtition Animation