Andorid - Flow Layout in JAVA File
<p>This is my Project XML Layout </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;

&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

    android:id="@+id/flowLayout"

    android:layout_width="wrap_content"

    android:layout_height="wrap_content"

    android:orientation="vertical" &gt;

    &lt;!-- enter code here --&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>I need to access it in the <strong>JAVA file</strong> which should contain 3 sentences in 3 text views ...</p>

<pre><code>public class MainActivity extends Activity {

private View layout;
@Override

    protected void onCreate(Bundle savedInstanceState) {

    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_main);
    findViewById();

        //enter code here
    }
    private void findViewById() {

    View layout = findViewById(R.id.flowLayout);

        //enter code here
    }
}
</code></pre>
