I've got an Activity with fragment and there is an EditText
inside that Fragment, I want to be able to write lines of text but software keyboard covers it when EditText
grows.
I've seen use of ScrollView
, adjustResize
and adjustPan
, but i don't know why they did'n work!
update:
if i use .beginTransaction().add
it works fine but i need to use .beginTransaction().replace
and keyboard covers EditText
update 2:
it works fine on android 4.3
but in android 4.4 keyboard covers EditText
What I want:
- A
layout(containing EditText)
that goes above keyboard when it comes up Smooth scroll
in that layout