In my layout one edit text and one button below edit text when i click on edit text then layout show above the soft input
Asked
Active
Viewed 30 times
-3
-
1Welcome to stackoverflow! As you might understand, your current question is not of good quality as it is unclear what you're asking. Please read http://stackoverflow.com/help/how-to-ask – 0xDEADC0DE Jan 11 '17 at 07:11
-
possible duplicate of http://stackoverflow.com/questions/3295672/android-soft-keyboard-covers-edittext-field – Manohar Jan 11 '17 at 07:14
-
1Possible duplicate of [Android soft keyboard covers edittext field](http://stackoverflow.com/questions/3295672/android-soft-keyboard-covers-edittext-field) – Merlí Escarpenter Pérez Jan 11 '17 at 08:47
1 Answers
1
In your manifest file under your current activity, write following code:
android:windowSoftInputMode="adjustPan"
Your Activity in manifest will look somewhat like this:
<activity
android:name="Your.Activity.Name"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"/>

Siraj Sumra
- 934
- 1
- 11
- 28
-
@Safal Bhatia: If you are satisfied with the answer, Please upvote and accept the answer. It will be appreciated. Thanks – Siraj Sumra Jan 11 '17 at 11:04