开发者

Why is the content in my scrollview showing up with a y-offset when I haven't changed any offset properties?

开发者 https://www.devze.com 2023-03-31 06:56 出处:网络
It happens in both the Eclipse UI designer and when the app in开发者_如何学编程 running. Seems to only happen when I add multiple <include> elements.Turns out this will happen if you include a l

It happens in both the Eclipse UI designer and when the app in开发者_如何学编程 running. Seems to only happen when I add multiple <include> elements.


Turns out this will happen if you include a layout that contains an EditText view that contains a <requestFocus> tag. The ScrollView automatically scrolls to the last item with the <requestFocus> tag.

0

精彩评论

暂无评论...
验证码 换一张
取 消