-1

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?enter image description here 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.

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 Answers2

0

check visibility of software keyboard in Android

How to check visibility of software keyboard in Android?

Community
  • 1
  • 1
Mahi
  • 1,754
  • 2
  • 16
  • 37
  • 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