Background glitch on keyboard closure
问题 I'm facing a situation with a little complex fragment layout xml of mine, So the hierarchy follows as: RelativeLayout (no background) --ScrollView (fillViewPort=true, scrollbars=none) ----FrameLayout (no background) ------LinearLayout (no background) --------RelativeLayout (background color of gray) ----------EditText ... So when the edittext clicked it opens soft keyboard (as expected), and when back press or some click block which hides keyboard with following method: try {