title: Android YouTubePlayer with unauthorized overlay on top of player
body: <p>I'm using YouTubePlayer (YouTube api for android) within a Fragment
  I am inflating a LinearLayout with the YouTube Player, in this way:</p>
  
  <pre><code>fragmentManager = getActivity().getSupportFragmentManager();
                      fragmentTransaction = fragmentManager.beginTransaction();
  
                      player = new YouTubePlayerSupportFragment();
                      fragmentTransaction.add(R.id.youTubePlayerContainer, player); 
                      fragmentTransaction.commit();
  </code></pre>
  
  <p>...Where youTubePlayerContainer is the inflated LinearLayout</p>
  
  <p>The player is detected correctly, start playing and in a second stops.
  The Log shows the following:</p>
  
  <pre><code>YouTube video playback stopped due to unauthorized overlay on top of player. 
  The YouTubePlayerView is obscured by android.widget.FrameLayout@4110d1f8. 
  YouTubePlayerView is completely covered, with the distance in px between each edge of the obscuring view and the YouTubePlayerView being: left: 484, top: 100, right: 100, bottom: 170..
  </code></pre>
  
  <p>This is my XML:
  (No FrameLayout within it)</p>
  
  <pre><code> &lt;LinearLayout
          android:id="@+id/curtain"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical" &gt;
  
          &lt;LinearLayout
              android:id="@+id/withApi"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical" &gt;
  
              &lt;LinearLayout
                  android:id="@+id/youTubePlayerContainer"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:layout_gravity="center"
                  android:layout_margin="30dp"
                  android:layout_weight="1"
                  android:orientation="vertical" &gt;
              &lt;/LinearLayout&gt;
  
              &lt;LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_margin="3dp"
                  android:background="@color/trans_popUp"
                  android:padding="3dp" &gt;
  
                  &lt;TextView
                      android:id="@+id/textYouTubeVisor"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="Title..."
                      android:textColor="@color/white" /&gt;
              &lt;/LinearLayout&gt;
          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I tried changing the margins without success.
  I read the official documentation but without success
  Indicates that the FrameLayout that causes the problem is: android.widget.FrameLayout @ 4110d1f8
  But with such a reference does not identify which refers</p>
  
  <p>to someone he did this happen?</p>
  
  <p>I appreciate any help.</p>
  
  <p>Regards</p>