Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.view.ViewGroup;

public class Main {
    public static void setViewGroupHeight(ViewGroup vg, int height) {
        ViewGroup.LayoutParams lp = vg.getLayoutParams();
        lp.height = height;
        vg.setLayoutParams(lp);
    }
}