Thursday, March 24, 2016

Android Multiple ScrollView Example XML Layout Code


Android Multiple Scroll View:

Just create an empty android project and make sure set min SDK to 4.1 or above. When creating project don't change the default activity or layout name. Next just paste in the code below in activity_main.xml or if you want paste it in another xml layout that too will work.

Before pasting the just copy and save the tools:context line in your xml file. Now paste the code and after that replace my line tools:context="com.blogspot.quickgrid.scrollviewexample.MainActivity" with your tools:context line that you saved somewhere earlier.

Screenshot:


activity_main.xml


No comments: