Java tutorial
//package com.java2s; import android.view.View; import android.view.ViewGroup; public class Main { public static View findLastChildView(ViewGroup group) { if (group != null && group.getChildCount() > 0) return group.getChildAt(group.getChildCount() - 1); return null; } }