Remmyabhavan
Remmyabhavan

Reputation: 1719

Virtual keyboard issue in android

In my android application i would like to use a Linearlayout at the bottom of the parent and just above that a scrollview with a edittext in it. when a touch on the edittext a virtual keyboard pops up with both edittext and linearlayout aligned at the bottom. I would like to view only the edittext and not the footer linearlayout on the top.

Is there anyway that i can get it done in android.

Please share your valuable suggestions.

Thanks in advance :)

Upvotes: 0

Views: 895

Answers (2)

Yar
Yar

Reputation: 4561

Is the LinearLayout at the bottom with alignParentBottom = true? It should not, in your situation.

Upvotes: 0

Rohit Mandiwal
Rohit Mandiwal

Reputation: 10462

add this to your activity tag in manifest

android:windowSoftInputMode="adjustPan"

Upvotes: 2

Related Questions