Java tutorial
//package com.java2s; import android.view.View; public class Main { private static int getInitialHeight(View v) { int initialHeight = v.getMeasuredHeight(); return initialHeight; } }