Android examples for User Interface:View Property
get View Bottom
import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.os.Build; import android.view.View; public class Main{ public static int getBottom(View v) { if (SwipeBack.USE_TRANSLATIONS) { return (int) (v.getBottom() + v.getTranslationY()); }// w w w.j a va2 s .c o m return v.getBottom(); } }