So, I followed a tutorial to grab stuff on Android. I have created a panel square that spreads to Surface Vis, which I attract on using a thread. Now I want to put this panel in a scroll view, especially a scroll horizontally so that I can pull more stuff from the screen. What will I do about doing this?
This can be done in the XML of the project that you want to do, to scrollview you Whatever you want to do, you put in a scrollwatch in XLL. It will be in the middle:
& lt; ScrollView xmlns: android = "http://schemas.android.com/apk/res/android" Android: orientation = "vertical" android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: layout_gravity = "center_horizontal" & Gt;
More: & lt; / ScrollView & gt;
Comments
Post a Comment