What is Manifest File?

ciginfo

Well-Known Member
Licensed User
Longtime User
Hello,
What is Manifest File?
The keyboard hides EditText which is located at the bottom of the screen. I read in the forum I have to add "android: windowSoftInputMode = "stateHidden | adjustPan" " in the Manifest File and EditText moves upward.
How to add this in Manifest File? Where is Manifest File? Or is there another way?
 

admac231

Active Member
Licensed User
Longtime User
Just to add to what NJDude said, you need to add "|adjustPan" to whatever is in android:windowSoftInputMode.

Normally the activity node we're interested in will look like this:
B4X:
<activity android:windowSoftInputMode="stateHidden" android:launchMode="singleTop" android:name="mainmenu" android:label="mainMenu" android:screenOrientation="portrait"></activity>

you want to make it look like this:
B4X:
<activity android:windowSoftInputMode="stateHidden|adjustPan" android:launchMode="singleTop" android:name="mainmenu" android:label="mainMenu" android:screenOrientation="portrait"></activity>
You have to select "Do not overwrite manifest file" as well to ensure your changes are kept.
 
Upvote 0
Top