The documentation for LinearLayout gives the value for constants in the documentation. Can these be brought in from an existing package/namespace or do they need to be defined at the class or application level?
http://developer.android.com/reference/android/widget/LinearLayout.html#VERTICAL
In Java, constants are always (static) members of some class; in this case,
android.widget.LinearLayout. To refer to it, you would writeLinearLayout.VERTICALin your source code, after importing the class (import android.widget.LinearLayout;) at the top of the source file. Or, if that is the only time you ever mentionLinearLayout, you could writeandroid.widget.LinearLayout.VERTICALwithout any import, but this is uncommon style.