setting an overlay on video recording when in vertical orientation
<p>So I have some code that records video normally. It uses a surface view to show what is recording. Here is the .xml file:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"&gt;
    &lt;LinearLayout
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"&gt;
        &lt;SurfaceView
            android:id="@+id/videoview"
            android:layout_width="720px"
            android:layout_height="480px"/&gt;
        &lt;Button
        android:id="@+id/mybutton"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="REC"
        android:textSize="12dp"/&gt;
        &lt;/LinearLayout&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>So I understand that is an orientation change even.t How would I modify the given xml to include a View that would be hidden by default but on orientation change to vertical i can do setVisibility(true) on the overlay. I want to have warning text that says something along the lines of 'No recording vertical video'</p>
