I want to display a linear layout with some textviews in it only when my soft keyboard is up. When soft keyboard is hidden the layout also should gone.how can i do that?
EDIT
PFB the picture. Like this i want to display those options only when keyboard is up.And these options will be hidden if there is not keyboard present.
Asked
Active
Viewed 83 times
-1

andro-girl
- 7,989
- 22
- 71
- 94
-
You've 1,117Rep and you're asking a question like this, it looks weird. Review what you just ask and edit the question and add some code – Dec 12 '14 at 11:14
2 Answers
0
check visibility of software keyboard in Android
-
I know to check the visibility of the keyboard.I want to pin my linear layout with softkeyboard when it is up. – andro-girl Dec 12 '14 at 11:21
0
<activity android:name=".Book_Group"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout|uiMode"
android:label="@string/title_activity_book__group"
android:windowSoftInputMode="adjustPan|adjustResize" />
ADD IT INTO MANIFIST FILE LIKE THIS

wadali
- 2,221
- 1
- 20
- 38