Advertisement
rootUser

Lab 1

Jun 4th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.44 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:paddingBottom="@dimen/activity_vertical_margin"
  7.    android:paddingLeft="@dimen/activity_horizontal_margin"
  8.    android:paddingRight="@dimen/activity_horizontal_margin"
  9.    android:paddingTop="@dimen/activity_vertical_margin"
  10.    tools:context="lab.offline.MainActivity"
  11.    android:background="#000000">
  12.  
  13.     <LinearLayout
  14.        android:orientation="vertical"
  15.        android:layout_width="match_parent"
  16.        android:layout_height="90dp"
  17.        android:layout_alignParentTop="true"
  18.        android:layout_centerHorizontal="true"
  19.        android:id="@+id/linearLayout">
  20.  
  21.         <LinearLayout
  22.            android:orientation="horizontal"
  23.            android:layout_width="match_parent"
  24.            android:layout_height="match_parent"
  25.            android:layout_gravity="center_horizontal">
  26.  
  27.             <TextView
  28.                android:layout_width="175dp"
  29.                android:layout_height="match_parent"
  30.                android:id="@+id/textView"
  31.                android:background="#ff0000" />
  32.  
  33.             <TextView
  34.                android:layout_width="175dp"
  35.                android:layout_height="match_parent"
  36.                android:id="@+id/textView2"
  37.                android:background="#15ff00" />
  38.  
  39.         </LinearLayout>
  40.     </LinearLayout>
  41.  
  42.     <LinearLayout
  43.        android:orientation="vertical"
  44.        android:layout_width="match_parent"
  45.        android:layout_height="96dp"
  46.        android:layout_below="@+id/linearLayout"
  47.        android:layout_centerHorizontal="true"
  48.        android:id="@+id/linearLayout2">
  49.  
  50.         <LinearLayout
  51.            android:orientation="horizontal"
  52.            android:layout_width="match_parent"
  53.            android:layout_height="match_parent"
  54.            android:layout_gravity="center_horizontal"
  55.            android:background="#ff00e5">
  56.  
  57.             <TextView
  58.                android:layout_width="70dp"
  59.                android:layout_height="match_parent"
  60.                android:id="@+id/textView3"
  61.                android:background="#0048ff" />
  62.  
  63.             <TextView
  64.                android:layout_width="280dp"
  65.                android:layout_height="45dp"
  66.                android:id="@+id/textView4"
  67.                android:background="#00ffea" />
  68.  
  69.         </LinearLayout>
  70.     </LinearLayout>
  71.  
  72.     <LinearLayout
  73.        android:orientation="vertical"
  74.        android:layout_width="match_parent"
  75.        android:layout_height="90dp"
  76.        android:layout_below="@+id/linearLayout2"
  77.        android:layout_centerHorizontal="true"
  78.        android:id="@+id/linearLayout3">
  79.  
  80.         <LinearLayout
  81.            android:orientation="horizontal"
  82.            android:layout_width="match_parent"
  83.            android:layout_height="match_parent"
  84.            android:layout_gravity="center_horizontal"
  85.            android:background="#00ffff">
  86.  
  87.             <TextView
  88.                android:layout_width="70dp"
  89.                android:layout_height="match_parent"
  90.                android:id="@+id/textView5"
  91.                android:background="#ffea00" />
  92.  
  93.             <LinearLayout
  94.                android:orientation="vertical"
  95.                android:layout_width="210dp"
  96.                android:layout_height="match_parent"
  97.                android:background="#ffa66a">
  98.  
  99.                 <TextView
  100.                    android:layout_width="match_parent"
  101.                    android:layout_height="48dp"
  102.                    android:id="@+id/textView6"
  103.                    android:layout_gravity="center_horizontal"
  104.                    android:background="#ff0000" />
  105.             </LinearLayout>
  106.         </LinearLayout>
  107.     </LinearLayout>
  108.  
  109.     <LinearLayout
  110.        android:orientation="vertical"
  111.        android:layout_width="match_parent"
  112.        android:layout_height="96dp"
  113.        android:layout_below="@+id/linearLayout3"
  114.        android:layout_centerHorizontal="true"
  115.        android:id="@+id/linearLayout4">
  116.  
  117.         <LinearLayout
  118.            android:orientation="horizontal"
  119.            android:layout_width="match_parent"
  120.            android:layout_height="match_parent"
  121.            android:layout_gravity="center_horizontal"
  122.            android:background="#f4dd4c">
  123.  
  124.             <LinearLayout
  125.                android:orientation="vertical"
  126.                android:layout_width="116dp"
  127.                android:layout_height="match_parent"
  128.                android:background="#31a42d"></LinearLayout>
  129.  
  130.             <LinearLayout
  131.                android:orientation="vertical"
  132.                android:layout_width="150dp"
  133.                android:layout_height="match_parent"
  134.                android:background="#b95c7e">
  135.  
  136.             </LinearLayout>
  137.         </LinearLayout>
  138.     </LinearLayout>
  139.  
  140.     <LinearLayout
  141.        android:orientation="vertical"
  142.        android:layout_width="match_parent"
  143.        android:layout_height="match_parent"
  144.        android:layout_below="@+id/linearLayout4"
  145.        android:layout_centerHorizontal="true">
  146.  
  147.         <LinearLayout
  148.            android:orientation="horizontal"
  149.            android:layout_width="match_parent"
  150.            android:layout_height="match_parent"
  151.            android:layout_gravity="center_horizontal"
  152.            android:background="#ffaa00">
  153.  
  154.             <TextView
  155.                android:layout_width="30dp"
  156.                android:layout_height="match_parent"
  157.                android:id="@+id/textView7"
  158.                android:background="#c1fab3" />
  159.  
  160.             <LinearLayout
  161.                android:orientation="vertical"
  162.                android:layout_width="150dp"
  163.                android:layout_height="match_parent"
  164.                android:background="#9240ad">
  165.  
  166.                 <TextView
  167.                    android:layout_width="match_parent"
  168.                    android:layout_height="32dp"
  169.                    android:id="@+id/textView8"
  170.                    android:background="#fe2424" />
  171.  
  172.                 <TextView
  173.                    android:layout_width="match_parent"
  174.                    android:layout_height="32dp"
  175.                    android:id="@+id/textView9"
  176.                    android:background="#b0a0f7" />
  177.             </LinearLayout>
  178.         </LinearLayout>
  179.     </LinearLayout>
  180.  
  181. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement