Skip to content Skip to sidebar Skip to footer

Two Fragments Stacked Ontop Of Each Other Using Transactional Add - How To Prevent Edit Text Gaining Focus On Bottom Fragment?

Try stacking two fragments with editTexts on top of each other using an Add Transaction. after that when you press the keyboard imeOption key next button the bottom fragment's ed

Solution 1:

the issue solution was surprising. recyclerview was stealing focus. see this SO incident:

adding android:descendantFocusability="blocksDescendants" to the recyclerview stopped the issue.

Post a Comment for "Two Fragments Stacked Ontop Of Each Other Using Transactional Add - How To Prevent Edit Text Gaining Focus On Bottom Fragment?"