java - Why doesn't EditText get focus with setFillAfter(true)? -
so when have visibility set invisible on edittext
fields doesn't want focus keyboard.
i fixed issue changing visibility on fields after animation completes this:
edit_text.setvisibility(view.invisible); final animation fadeinanimation = animationutils.loadanimation(getactivity(), r.anim.fade_in_view); fadeinanimation.setfillafter(true); edit_text.startanimation(fadeinanimation); edit_text.setvisibility(view.visible);
but want know why doesn't focus. shouldn't setfillafter(true)
set them visible again?
the description setfillafter(boolean fillafter)
says
if fillafter true, transformation animation performed persist when finished.
- when set true this
- an animation on android not animate view itself, animates bitmap representation of view
- check out: animation.setfillafter/before - work/what for?
Comments
Post a Comment