android


Android keyboard lags/is slow while closing using adjustResize


I have a custom layout as a form field in an activity.
The structure of the layout of the custom layout is as follows:
<Relative Layout A>
<Linear Layout B>
<Relative Layout C>
<Text View>
<Edit Text>
</Relative Layout C Ends>
<Relative Layout D>
<Text View>
<Image View>
</Relative Layout D Ends>
<Relative Layout E>
<Text View>
<Image View>
</Relative Layout E Ends>
</Linear Layout B Ends>
<View for horizontal line>
</Relative Layout A ends>
This is a form field that is added into the when a button is clicked.
When the android keyboard is closed, it is slow to close and causes some lag, resulting in a momentary blank keyboard state like this:
The more custom fields I add into this layout the worse this lag gets.
With 4 such fields it is a good 2 seconds.
I have tried using adjustPan instead of adjustResize in my AndroidManifest. That works but then the accessibility to the rest of my layout elements is compromised.
Does anyone have any ideas what is causing this lag, or how to solve it without compromising any behaviours?
Thanks!
P.S.: In the picture attached, only the edit text is visible and the rest of the fields are hidden.

Related Links

Linearlayout for different screen sizes
Running Cygwin commands from batch file
Android Searchview with background hint
Making an android map menu to change map type
rails Devise http authenticating mobile
Check if RunOnUiThread is necessary?
How can I debug an Android app without Eclipse?
Popup doesn't become unvisible but it pass through code and nothing happens
How to refresh asyncTask from another acctivity?
Layout problem with listView
Get facebook email after login in Android
Customize Wikitude main view with Wikitude API
how to open activity in diffrent tab from one tab?
Never close Android SQLite connection
How to call getWindow() using a method from a listener
Continuous numbering of a the retrieved data in an extra column

Categories

HOME
batch-file
phantom-dsl
assembly
datastore
3d
rsa
static
package
solver
opendj
soa
aws-cli
google-apps
visual-studio-emulator
jquery-ui
code-coverage
openstreetmap
jxl
gkturnbasedmatch
plink
scrolltop
video-editing
kendo-mobile
systemtime
postscript
qliksense
object-storage
zxing
monit
highstock
resourcebundle
jquery-callback
ckfinder
data.stackexchange.com
beautifier
jackson-modules
ntp
google-cast
scrollview
python-2.6
jmockit
angularjs-material
android-sugarorm
hard-drive
biztalk-rule-engine
installshield-le
getpixel
pop3
diacritics
p4merge
install.packages
memory-mapping
phpdbg
vaadin-elements
libgphoto2
user-defined-fields
mschart
openblas
static-cast
reshape
objectscript
sandcastle
pocketsphinx-android
cubism.js
redbeard-ios
rspec2
vorpal.js
clipboard.js
jtwig
cfchart
sklearn-pandas
nio2
jbase
libvlc
atan2
boomerang
decimalformat
computer-architecture
canalyzer
osc
user-permissions
zxspectrum
shopizer
mmwormhole
at-job
nsmenu
xml-dsig
tinyxml
gnumeric
memset
buffering
xmltodict
breakout
code-duplication
jeromq
cffile
poker
scmmanager
pagedown
preload
device-width
xcode3.2
veracity
thttpd
usertype
kqueue
cross-database
stress
landscape-portrait
exponentiation
pylucene
rmdir
nhprof
metaweblog
message-passing
cfwindow
murmurhash
cuda.net
software-lifecycle
appliance

Resources

Encrypt Message