Back to project page swazam.
The source code is released under:
MIT License
If you think the Android project swazam listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package at.saws2013.szazam.ui; // w w w. j av a2s.co m import android.view.View; public class ViewTools { public static void disableViews(View... views){ for (View view : views) { view.setEnabled(false); } } public static void enableViews(View... views){ for (View view : views) { view.setEnabled(true); } } }