My LinearLayout has a few TableRow elements, each of which contain a TextView and an EditText. Basically, the LinearLayout acts as a form. For various reasons, I'm not using a TableLayout, as it has been too problematic to configure to my needs.
I need to make sure each EditText field has been filled. Currently, if the user leaves out a field, my app will simply generate an error message telling the user which field had been left blank. To improve user experience, I want to allow the LinearLayout to scroll automatically to the TableRow so the user could easily find the blank field.
Is this possible with a LinearLayout?开发者_开发技巧
Have you tried setting the desired layout view's focus? Android View
精彩评论