Android examples for User Interface:ViewGroup
ViewGroup match Parent
//package com.java2s; import android.view.ViewGroup; import android.widget.LinearLayout; public class Main { public static ViewGroup.LayoutParams matchParent() { return new ViewGroup.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT); }/*from w w w . j a v a 2 s .c o m*/ }