my Android TextView xml is very simple like below, I used style ScrollView but it won't show scrollbar, even when the text is exceeding the bottom and there is no way for me to see what's beyond. How to enable the scrollbar please? I think "match_parent" has issue but don't know how to fix. Thanks!
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#ffffff">
<TextView
android:id="@+id/textResult"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/buttonRecord"
android:layout_marginTop="16dp"
android:background="@drawable/back"
android:editable="true"
android:height="150dp"
android:text=""
android:enabled="false"
android:scrollbars="vertical"
style="@android:style/Widget.ScrollView"
android:layout_alignRight="@+id/buttonRecord"
android:layout_alignEnd="@+id/buttonRecord"
android:layout_alignLeft="@+id/buttonRecord"
android:layout_alignStart="@+id/buttonRecord" />
</RelativeLayout>