I want to Scroll linear layout (created in java file using LinearLayout layout = new LinearLayout(this)
) vertically and also horizontally. ScrollView
allows only vertical scrolling HorizontalScrollView
allows only horizontal scrolling, But I want both functionality to my LinearLayout
.
I haven't got any solution for my question. Many people saying that we can get two dimensional scrolling my embedding HorizontalScrollView inside ScrollView, But this is not giving a good scrolling effect. How ever many sources tells that the only solution for this question is the link(http://blog.gorges.us/2010/06/android-two-dimensional-scrollview). However this link is no longer active. Please help me.