Android‎ > ‎

Setting ScrollView Dimensions Dynamically

posted Dec 4, 2012, 3:15 AM by Akash Khaitan   [ updated Mar 9, 2013, 7:53 AM ]

Changing height and width of scrollview programmatically /dynamically 

scrollView
.getLayoutParams().height = yourNewHeight; // in pixels scrollView.getLayoutParams().width = yourNewWidth; // in pixels

Comments