Search Results

Search found 1 results on 1 pages for 'sammm'.

Page 1/1 | 1 

  • Enabling scrollbar in EditText Android

    - by Sammm
    I have an EditText on my layout. Below are the attributes I currently have: <EditText android:id="@+id/entryIdea" android:layout_width="fill_parent" android:layout_height="225sp" android:gravity="top" android:background="@android:drawable/editbox_background" android:scrollbars="vertical"/> However, I can see the scrollbar but can't scroll it with mouse/touch. I thought that it may works if I put the corresponding listener since it works on TextView. Apparently, it isn't. EditText et = (EditText)findViewById(R.id.entryIdea); et.setMovementMethod(new ScrollingMovementMethod()); Can you guys help me on this? Thank you so much in advance. Sammy

    Read the article

1