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 setChildrenAlpha(ViewGroup parent, float alpha) {
        for (int i = parent.getChildCount() - 1; i >= 0; --i) {
            parent.getChildAt(i).setAlpha(alpha);
        }
    }
}