Example usage for android.widget TextView isTextSelectable

List of usage examples for android.widget TextView isTextSelectable

Introduction

In this page you can find the example usage for android.widget TextView isTextSelectable.

Prototype

public boolean isTextSelectable() 

Source Link

Document

Returns the state of the textIsSelectable flag (See #setTextIsSelectable setTextIsSelectable() ).

Usage

From source file:Main.java

public static boolean isTextSelectable(TextView textView) {
    return textView.isTextSelectable();
}

From source file:ca.zadrox.dota2esportticker.ui.MatchDetailActivity.java

private void setTextSelectable(TextView tv) {
    if (tv != null && !tv.isTextSelectable()) {
        tv.setTextIsSelectable(true);
    }
}