Hi,
I would like to create an android widget with a scrollable textview.
The solutions given to this question http://stackoverflow.com/questions/1748977/making-textview-scrollable-in-android cannot be applied because it is a widget:
1. This
findViewById(R.id.textview).setMovementMethod(new MovementMethod());
does not work, since findViewById
is not available in AppWidgetProvider
but only in Activity
.
2.Putting a ScrollView
around the TextView
also does not work, because I get an
InflateException
:
android.view.InflateException: Binary XML file line #23: Error inflating class ScrollView
Can anybody give me a hint, how to make a TextView
in a Widget scrollable?
Thanks!