I currently have a program that uses a linear layout that contains a Textview that is populated with x amount of values (dependent on arrayList size determined in separate activity) but Scrollview is not working as I anticipated.
Since Scrollview can only have one direct child, I have the Linear Layout with the TextView nested within; however when I wrap both of these within Scrollview, the Linear Layout is still not scrollable
//This is what I am using to populate the Linear Layout that I'm trying to make scrollable
TextView DisplayString = (TextView)findViewById(R.id.stringNumsCon1);
        LinearLayout LinContainer = (LinearLayout)findViewById(R.id.LinLay);
        Intent intent = getIntent();
        ArrayList<String> timerVals = (ArrayList<String>)getIntent().getSerializableExtra("timerVals");
        DisplayString.setTextSize(15);
        DisplayString.setTextColor(Color.BLACK);
        for(int i=0; i<timerVals.size(); i++){
            DisplayString.append(timerVals.get(i));
            DisplayString.append("\n");
        }
//This is how I am trying to make it scrollable within the xml
<ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >
        <LinearLayout
            android:id="@+id/LinLay"
            android:layout_width="match_parent"
            android:orientation="vertical"
            android:layout_height="391dp">
            <TextView
                android:id="@+id/stringNumsCon1"
                android:layout_width="match_parent"
                android:layout_height="391dp"
                android:orientation="vertical">
            </TextView>
        </LinearLayout>
    </ScrollView>
- First Activity (used to create arraylist that will populate Linear Layout on next activity)
- Portion of second activity I wish to make scrollable (Blue lines delineating what part of page I want scrollable, the rest I want to remain static)
I expected this to make the Linear Layout portion scrollable, but I can see data is cut off and inaccessible when actually implementing this code
 
    