开发者

How to make Verital and Horizontal scroll on 2 layouts?

开发者 https://www.devze.com 2022-12-26 20:35 出处:网络
I am trying to make Layout that contains 2 layout, vertical and horizontal scrolls. Like this : http://202.131.244.11/demo/VerticalAndHorizontalScrolls.PNG

I am trying to make Layout that contains 2 layout, vertical and horizontal scrolls.

Like this : http://202.131.244.11/demo/VerticalAndHorizontalScrolls.PNG

How to make it ? I've tried it. But horizontal scrol开发者_如何学Pythonl doesn't work for me.

Please advise.


What's your layout xml look like? Presumably, you want a hierarchy like this:

ScrollView
    ViewGroup (some sort of layout to contain everything)
        ViewGroup (layout 1)
        HorizontalScrollView
            ViewGroup (layout 2)
0

精彩评论

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