title: Android. Transparent Layout over another layout
body: <p>I am developing video player and I need to display SeekBar, current time text view, video length text view over my video view. I also need tho put the into any Layout with transparent background. I have read some topics here, in Stackoverflow, but they did not help in solving my problem. Can anyone help me please! Thank You ver much!
  Here is my xml layout for videoplayer.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/video_main_container"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" &gt;
   &lt;!-- This is Layout that must be in the top of my video view ---&gt;
  &lt;LinearLayout
      android:id="@+id/streams"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_alignParentRight="true"
      android:layout_alignParentTop="true"
      android:background="#40ffffff"
      android:orientation="horizontal"
      android:visibility="gone" &gt;
  
      &lt;Spinner
          android:id="@+id/language_spinner"
          android:layout_width="0dip"
          android:layout_height="wrap_content"
          android:layout_weight="1" /&gt;
  
      &lt;Spinner
          android:id="@+id/subtitle_spinner"
          android:layout_width="0dip"
          android:layout_height="wrap_content"
          android:layout_weight="1" /&gt;
  
      &lt;ImageView
          android:id="@+id/full_screen"
          android:layout_width="20dp"
          android:layout_height="20dp"
          android:layout_weight="1"
          android:src="@drawable/logo_fullscreen" /&gt;
  
  &lt;/LinearLayout&gt;
  &lt;!-- This is layout with seekbar and text views with current time, video file length --&gt;
  &lt;!-- I need to show it on the bottom of my video view --&gt;
  &lt;RelativeLayout
      android:id="@+id/controls"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentRight="true"
      android:backgroundDimEnabled="true"
      android:background="#00ffffff"
      &gt;
  
      &lt;Button
          android:id="@+id/play_pause"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@android:drawable/ic_media_play"
          android:contentDescription="@null"
          android:enabled="false" /&gt;
  
      &lt;Button
          android:id="@+id/scale_type"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_toRightOf="@+id/play_pause"
          android:background="@android:drawable/ic_menu_info_details"
          android:enabled="true" /&gt;
  
      &lt;SeekBar
          android:id="@+id/seek_bar"
          android:alpha="0.5"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentRight="true"
          android:layout_centerVertical="true"
          android:layout_toRightOf="@+id/scale_type" /&gt;
  
      &lt;TextView
          android:layout_margin="3dp"
          android:id="@+id/current_time_text"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@+id/seek_bar"
          android:layout_alignLeft="@+id/seek_bar"
          android:text="" /&gt;
  
      &lt;TextView
          android:layout_margin="3dp"
          android:id="@+id/video_length_text"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@+id/seek_bar"
          android:layout_alignRight="@+id/seek_bar"
          android:text="" /&gt;
  
  &lt;/RelativeLayout&gt;
      &lt;!-- This is my VideoView, all controls I must display over it ---&gt;
  &lt;com.ffmpeg.FFmpegSurfaceView
      android:id="@+id/video_view"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_above="@+id/controls"
      android:layout_below="@+id/streams"
      android:visibility="visible" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>