Java tutorial
//package com.java2s; import android.widget.TextView; public class Main { /** * Returns the enabled state a {@link TextView}. * * @param textview text view instance * @return {@code true} for enabled, {@code false} disabled */ public static boolean isEnabled(TextView textview) { return textview.isEnabled(); } }