• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. E

    Apps split long text with horizontal swipe to turn pages

    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...
  2. E

    Apps How do I make textView text selectable

    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...
  3. E

    Apps TextView.setText

    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...