I need to set the TextView maximum height (either using maxHeight or maxLines). And if there are more lines of text the scrollbars should be shown. What markup should I use for this?
Initial idea was to wrap TextView with ScrollView, but ScrollView has no maxHeight attribute.
Layout:
Code:
Note:
The android:textColor="@android:color/secondary_text_dark_nodisable" is used to avoid text fade out when textView is touched.