Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent">
  6.  
  7.     <LinearLayout
  8.        android:orientation="vertical"
  9.        android:layout_width="match_parent"
  10.        android:layout_height="wrap_content"
  11.        android:layout_gravity="center"
  12.        android:id="@+id/chkInt"
  13.        android:visibility="gone">
  14.  
  15.         <TextView
  16.            android:layout_width="wrap_content"
  17.            android:layout_height="wrap_content"
  18.            android:textAppearance="?android:attr/textAppearanceMedium"
  19.            android:text="@string/internet_error_test"
  20.            android:id="@+id/errorMessage"
  21.            android:layout_gravity="center"
  22.            android:layout_marginLeft="10dp"
  23.            android:layout_marginRight="10dp"
  24.            android:paddingLeft="10dp"
  25.            android:paddingRight="10dp"
  26.            android:layout_marginTop="20dp"
  27.            android:textSize="15dp" />
  28.  
  29.         <Button
  30.            android:layout_width="wrap_content"
  31.            android:layout_height="wrap_content"
  32.            android:text="Повторить"
  33.            android:id="@+id/repeat"
  34.            android:layout_gravity="center"
  35.            android:textColor="#FFFFFF"
  36.            android:background="@color/colorPrimary"
  37.            android:layout_marginTop="5dp"
  38.            android:layout_marginBottom="10dp" />
  39.     </LinearLayout>
  40.  
  41.  
  42.     <LinearLayout
  43.        android:orientation="vertical"
  44.        android:layout_width="match_parent"
  45.        android:layout_height="match_parent"
  46.        android:id="@+id/original">
  47.  
  48.         <FrameLayout
  49.            android:layout_width="match_parent"
  50.            android:layout_height="50dp"
  51.            android:orientation="vertical"
  52.            android:layout_gravity="center_horizontal"
  53.            android:layout_marginTop="5dp"
  54.            android:id="@+id/frame"
  55.            android:layout_marginLeft="5dp"
  56.            android:layout_marginRight="5dp">
  57.  
  58.             <RelativeLayout
  59.                android:layout_width="match_parent"
  60.                android:layout_height="match_parent">
  61.  
  62.                 <io.vov.vitamio.widget.VideoView
  63.                    android:id="@+id/vitamio_videoView"
  64.                    android:layout_width="wrap_content"
  65.                    android:layout_height="wrap_content"
  66.                    android:layout_alignParentLeft="true"
  67.                    android:layout_alignParentTop="true"
  68.                    android:layout_alignParentRight="true"
  69.                    android:layout_alignParentBottom="true"
  70.  
  71.                    android:layout_gravity="bottom" />
  72.             </RelativeLayout>
  73.  
  74.  
  75.             <ImageView
  76.                android:layout_width="wrap_content"
  77.                android:layout_height="wrap_content"
  78.                android:id="@+id/status_image"
  79.                android:scaleType="fitXY"
  80.                android:layout_gravity="center" />
  81.  
  82.             <ImageView
  83.                android:layout_width="match_parent"
  84.                android:layout_height="match_parent"
  85.                android:id="@+id/preview_cam"
  86.                android:layout_gravity="center"
  87.                android:scaleType="fitXY" />
  88.  
  89.             <ImageView
  90.                android:id="@+id/play"
  91.                android:layout_width="wrap_content"
  92.                android:layout_height="wrap_content"
  93.                android:layout_centerInParent="true"
  94.  
  95.                android:layout_gravity="center"
  96.                android:src="@drawable/play"
  97.                android:visibility="gone" />
  98.  
  99.             <ProgressBar
  100.                android:id="@+id/progressbar"
  101.                android:layout_width="wrap_content"
  102.                android:layout_height="wrap_content"
  103.                android:layout_centerInParent="true"
  104.                android:visibility="gone"
  105.                android:layout_gravity="center" />
  106.  
  107.             <ImageView
  108.                android:layout_width="wrap_content"
  109.                android:layout_height="wrap_content"
  110.                android:id="@+id/fullscreen"
  111.                android:layout_gravity="right|bottom"
  112.                android:layout_marginRight="5dp"
  113.                android:layout_marginBottom="5dp" />
  114.  
  115.  
  116.  
  117.         </FrameLayout>
  118.  
  119.         <LinearLayout
  120.            android:orientation="vertical"
  121.            android:layout_width="wrap_content"
  122.            android:layout_height="wrap_content"
  123.            android:layout_marginLeft="5dp"
  124.            android:layout_marginRight="5dp">
  125.  
  126.             <TextView
  127.                android:layout_width="wrap_content"
  128.                android:layout_height="wrap_content"
  129.  
  130.                android:text="Title"
  131.                android:id="@+id/country"
  132.                android:layout_gravity="center_horizontal|left"
  133.                android:layout_marginTop="5dp"
  134.                android:layout_marginLeft="5dp"
  135.                android:layout_marginBottom="5dp"
  136.                android:layout_marginRight="5dp" />
  137.         </LinearLayout>
  138.  
  139.         <LinearLayout
  140.            android:orientation="horizontal"
  141.            android:layout_width="match_parent"
  142.            android:layout_height="wrap_content"
  143.            android:layout_marginLeft="5dp"
  144.            android:layout_marginTop="5dp"
  145.            android:layout_marginRight="5dp"
  146.            android:layout_marginBottom="5dp">
  147.  
  148.             <ImageView
  149.                android:layout_width="wrap_content"
  150.                android:layout_height="match_parent"
  151.                android:src="@drawable/eye_small2"
  152.                android:id="@+id/imageView"
  153.                android:layout_marginLeft="5dp"
  154.                android:layout_marginRight="5dp" />
  155.  
  156.             <TextView
  157.                android:layout_width="wrap_content"
  158.                android:layout_height="wrap_content"
  159.                android:textAppearance="?android:attr/textAppearanceMedium"
  160.                android:text="просмотр"
  161.                android:id="@+id/view_plurar"
  162.                android:layout_marginRight="5dp"
  163.                android:textSize="10dp" />
  164.  
  165.             <ImageView
  166.                android:layout_width="wrap_content"
  167.                android:layout_height="wrap_content"
  168.                android:src="@drawable/comm_small2"
  169.                android:id="@+id/imageView2"
  170.                android:layout_gravity="right"
  171.                android:layout_marginRight="5dp"
  172.                android:layout_marginLeft="10dp" />
  173.  
  174.             <TextView
  175.                android:layout_width="wrap_content"
  176.                android:layout_height="wrap_content"
  177.                android:textAppearance="?android:attr/textAppearanceMedium"
  178.                android:text="комментарий"
  179.                android:id="@+id/comm_plurar"
  180.                android:layout_marginRight="5dp"
  181.                android:textSize="10dp" />
  182.  
  183.         </LinearLayout>
  184.  
  185.  
  186.         <ScrollView
  187.            android:layout_width="match_parent"
  188.            android:layout_height="match_parent"
  189.            android:id="@+id/scroll" >
  190.  
  191.             <android.support.design.widget.TabLayout
  192.  
  193.                    android:layout_width="match_parent"
  194.                    android:layout_height="wrap_content"
  195.                    android:id="@+id/tabs"
  196.                    app:tabMode="fixed"
  197.                    app:tabGravity="fill"
  198.                    android:layout_marginLeft="5dp"
  199.                    android:layout_marginRight="5dp" />
  200.             <android.support.v4.view.ViewPager
  201.                android:layout_width="match_parent"
  202.                android:layout_height="match_parent"
  203.                android:id="@+id/viewpager2"
  204.                android:layout_gravity="center_vertical"
  205.                android:layout_marginLeft="5dp"
  206.                android:layout_marginRight="5dp"
  207.                app:layout_behavior="@string/appbar_scrolling_view_behavior"
  208.                />
  209.  
  210.         </ScrollView>
  211.  
  212.  
  213.        
  214.     </LinearLayout>
  215.  
  216.  
  217. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement