Hi I'm trying to create an app that allows the user to read a long text and horizontally swipe to change pages pretty much like the Kindle app. I understand that I can implement the horizontal swipe function using the viewpager and pageradapater classes, however I'm not sure how to split the...
Hi I have a text view and I'm trying to make the text selectable. The docs say:
But I can't get it to work I tried
Tv.setTextIsSelectable(true);
and I get
The method setTextIsSelectable(boolean) is undefined for the type TextView
I tried
android:textIsSelectable="true"
in the xml and...
Hi I'm very new to Android development so forgive my innocence. Why does this simple program crash on the TextView.setText method ?
package com.example.testsettext;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class TestSetText extends...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.