Advertisement
Guest User

Untitled

a guest
Sep 4th, 2016
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.60 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:background="#000000"
  8.    tools:context="org.nautilusmedia.hydratv.MainActivity">
  9.  
  10.     <com.devbrackets.android.exomedia.ui.widget.EMVideoView
  11.        android:id="@+id/emVideoView"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="match_parent"/>
  14.  
  15.     <ViewSwitcher
  16.        android:id="@+id/isBackgroundSwitcher"
  17.        android:layout_width="match_parent"
  18.        android:layout_height="match_parent"
  19.        android:inAnimation="@anim/fade_in"
  20.        android:outAnimation="@anim/fade_out">
  21.  
  22.         <ImageView
  23.            android:id="@+id/ivBackground1"
  24.            android:layout_width="match_parent"
  25.            android:layout_height="match_parent"
  26.            android:scaleType="centerCrop"/>
  27.  
  28.         <ImageView
  29.            android:id="@+id/ivBackground2"
  30.            android:layout_width="match_parent"
  31.            android:layout_height="match_parent"
  32.            android:scaleType="centerCrop"/>
  33.  
  34.     </ViewSwitcher>
  35.  
  36.     <View
  37.        android:id="@+id/vBackgroundOverlay"
  38.        android:layout_width="match_parent"
  39.        android:layout_height="match_parent"
  40.        android:background="@color/colorBackgroundOverlayDark"/>
  41.  
  42.     <FrameLayout
  43.        android:id="@+id/flContentFrame"
  44.        android:layout_width="match_parent"
  45.        android:layout_height="match_parent"/>
  46.  
  47. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement