Android Question Activity GradientDrawable prevents layout from sliding up when keyboard is open

Jose Miranda

Member
Licensed User
Longtime User
Im loading a layout with a form inside a ScrollView. When I use ColorDrawable and click on a text box to enter text the keyboard appears and the entire app slides up to show the text box while I type. This is OK.

If I use GradientDrawable to put a gradient on the ScrollView (trying to let people know that the form can be scrolled) and click on a text box the app does not slides up anymore and the textbox stays behind the keyboard.

Is this normal?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…