Advertisement
Guest User

Untitled

a guest
Mar 1st, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:layout_height="fill_parent"
  5.    android:layout_width="fill_parent"
  6.    android:fillViewport="true"
  7.    >
  8.  
  9.  
  10.  
  11.  
  12.     <LinearLayout
  13.        android:orientation="vertical"
  14.        android:layout_width="match_parent"
  15.        android:layout_height="match_parent"
  16.        android:weightSum="1">
  17.  
  18.         <LinearLayout
  19.            android:orientation="horizontal"
  20.            android:layout_width="match_parent"
  21.            android:layout_height="match_parent"
  22.            android:layout_weight="0.33"
  23.            android:id="@+id/Linear1"
  24.            >
  25.  
  26.             <RelativeLayout
  27.                android:layout_width="0dp"
  28.                android:layout_height="match_parent"
  29.                android:background="@color/tileColor1"
  30.                android:layout_weight="1"
  31.                android:id="@+id/tileLayout1"
  32.                android:onClick="openFirst"
  33.                >
  34.  
  35.                 <TextView
  36.                    android:layout_width="wrap_content"
  37.                    android:layout_height="wrap_content"
  38.                    android:textAppearance="?android:attr/textAppearanceLarge"
  39.                    android:text="F1News.ru"
  40.                    android:id="@+id/textView"
  41.                    android:layout_centerHorizontal="true"
  42.  
  43.                    android:layout_marginTop="31dp" />
  44.  
  45.                 <TextView
  46.                    android:layout_width="wrap_content"
  47.                    android:layout_height="wrap_content"
  48.                    android:textAppearance="?android:attr/textAppearanceSmall"
  49.                    android:text="Загрузка..."
  50.                    android:id="@+id/textView2"
  51.                    android:layout_centerHorizontal="true"
  52.                    android:layout_alignParentBottom="true"
  53.                    android:layout_marginBottom="35dp" />
  54.                 <ImageView
  55.                    android:layout_width="wrap_content"
  56.                    android:layout_height="wrap_content"
  57.                    android:src="@drawable/rus"
  58.                    android:layout_alignParentBottom="true"
  59.                    android:layout_alignParentLeft="true"
  60.                    android:layout_margin="5dp"
  61.                    />
  62.             </RelativeLayout>
  63.             <RelativeLayout
  64.                android:layout_width="0dp"
  65.                android:layout_height="match_parent"
  66.                android:background="@color/tileColor2"
  67.                android:layout_weight="1"
  68.                android:id="@+id/tileLayout2">
  69.  
  70.                 <TextView
  71.                    android:layout_width="wrap_content"
  72.                    android:layout_height="wrap_content"
  73.                    android:textAppearance="?android:attr/textAppearanceLarge"
  74.                    android:text="Formula News"
  75.                    android:id="@+id/textView3"
  76.                    android:layout_centerHorizontal="true"
  77.  
  78.                    android:layout_marginTop="31dp"/>
  79.  
  80.                 <TextView
  81.                    android:layout_width="wrap_content"
  82.                    android:layout_height="wrap_content"
  83.                    android:textAppearance="?android:attr/textAppearanceSmall"
  84.                    android:text="Загрузка..."
  85.                    android:id="@+id/textView4"
  86.                    android:textAlignment="center"
  87.                    android:layout_centerHorizontal="true"
  88.                    android:layout_alignParentBottom="true"
  89.                    android:layout_marginBottom="35dp"
  90.                    />
  91.                 <ImageView
  92.                    android:layout_width="wrap_content"
  93.                    android:layout_height="wrap_content"
  94.                    android:src="@drawable/eng"
  95.                    android:layout_alignParentBottom="true"
  96.                    android:layout_alignParentLeft="true"
  97.                    android:layout_margin="5dp"
  98.                    />
  99.             </RelativeLayout>
  100.         </LinearLayout>
  101.  
  102.         <LinearLayout
  103.            android:orientation="horizontal"
  104.            android:layout_width="match_parent"
  105.            android:layout_height="wrap_content"
  106.            android:layout_weight="0.33"
  107.            android:id="@+id/Linear2">
  108.  
  109.             <RelativeLayout
  110.                android:layout_width="0dp"
  111.                android:layout_height="match_parent"
  112.                android:background="@color/tileColor3"
  113.                android:layout_weight="1"
  114.                android:id="@+id/tileLayout3">
  115.  
  116.                 <TextView
  117.                    android:layout_width="wrap_content"
  118.                    android:layout_height="wrap_content"
  119.                    android:textAppearance="?android:attr/textAppearanceLarge"
  120.                    android:text="To Add"
  121.                    android:id="@+id/textView5"
  122.                    android:layout_alignParentTop="true"
  123.                    android:layout_alignParentLeft="true"
  124.                    android:layout_alignParentStart="true"
  125.                    android:layout_marginLeft="38dp"
  126.                    android:layout_marginStart="38dp"
  127.                    android:layout_marginTop="31dp" />
  128.  
  129.                 <TextView
  130.                    android:layout_width="wrap_content"
  131.                    android:layout_height="wrap_content"
  132.                    android:textAppearance="?android:attr/textAppearanceSmall"
  133.                    android:text="To Add"
  134.                    android:id="@+id/textView6"
  135.                    android:layout_centerVertical="true"
  136.                    android:layout_alignRight="@+id/textView5"
  137.                    android:layout_alignEnd="@+id/textView5" />
  138.  
  139.  
  140.             </RelativeLayout>
  141.             <RelativeLayout
  142.                android:layout_width="0dp"
  143.                android:layout_height="match_parent"
  144.                android:background="@color/tileColor4"
  145.                android:layout_weight="1"
  146.                android:id="@+id/tileLayout4">
  147.  
  148.                 <TextView
  149.                    android:layout_width="wrap_content"
  150.                    android:layout_height="wrap_content"
  151.                    android:textAppearance="?android:attr/textAppearanceLarge"
  152.                    android:text="To Add"
  153.                    android:id="@+id/textView7"
  154.                    android:layout_alignParentTop="true"
  155.                    android:layout_alignParentLeft="true"
  156.                    android:layout_alignParentStart="true"
  157.                    android:layout_marginLeft="38dp"
  158.                    android:layout_marginStart="38dp"
  159.                    android:layout_marginTop="31dp"/>
  160.  
  161.                 <TextView
  162.                    android:layout_width="wrap_content"
  163.                    android:layout_height="wrap_content"
  164.                    android:textAppearance="?android:attr/textAppearanceSmall"
  165.                    android:text="To Add"
  166.                    android:id="@+id/textView8"
  167.                    android:layout_centerVertical="true"
  168.                    android:layout_alignRight="@+id/textView7"
  169.                    android:layout_alignEnd="@+id/textView7" />
  170.             </RelativeLayout>
  171.         </LinearLayout>
  172.         <LinearLayout
  173.            android:orientation="horizontal"
  174.            android:layout_width="match_parent"
  175.            android:layout_height="wrap_content"
  176.            android:layout_weight="0.33"
  177.            android:id="@+id/Linear4"
  178.            >
  179.  
  180.             <RelativeLayout
  181.                android:layout_width="0dp"
  182.                android:layout_height="match_parent"
  183.                android:background="@color/tileColor5"
  184.                android:layout_weight="1"
  185.                android:id="@+id/tileLayout7"
  186.                >
  187.  
  188.                 <TextView
  189.                    android:layout_width="wrap_content"
  190.                    android:layout_height="wrap_content"
  191.                    android:textAppearance="?android:attr/textAppearanceLarge"
  192.                    android:text="To Add"
  193.                    android:id="@+id/textView13"
  194.                    android:layout_centerHorizontal="true"
  195.  
  196.                    android:layout_marginTop="31dp" />
  197.  
  198.                 <TextView
  199.                    android:layout_width="wrap_content"
  200.                    android:layout_height="wrap_content"
  201.                    android:textAppearance="?android:attr/textAppearanceSmall"
  202.                    android:text="To Add"
  203.                    android:id="@+id/textView14"
  204.                    android:layout_centerHorizontal="true"
  205.                    android:layout_alignParentBottom="true"
  206.                    android:layout_marginBottom="35dp" />
  207.                 <ImageView
  208.                    android:layout_width="wrap_content"
  209.                    android:layout_height="wrap_content"
  210.                    android:src="@drawable/rus"
  211.                    android:layout_alignParentBottom="true"
  212.                    android:layout_alignParentLeft="true"
  213.                    android:layout_margin="5dp"
  214.                    />
  215.             </RelativeLayout>
  216.             <RelativeLayout
  217.                android:layout_width="0dp"
  218.                android:layout_height="match_parent"
  219.                android:background="@color/tileColor6"
  220.                android:layout_weight="1"
  221.                android:id="@+id/tileLayout8">
  222.  
  223.                 <TextView
  224.                    android:layout_width="wrap_content"
  225.                    android:layout_height="wrap_content"
  226.                    android:textAppearance="?android:attr/textAppearanceLarge"
  227.                    android:text="To Add"
  228.                    android:id="@+id/textView15"
  229.                    android:layout_centerHorizontal="true"
  230.  
  231.                    android:layout_marginTop="31dp"/>
  232.  
  233.                 <TextView
  234.                    android:layout_width="wrap_content"
  235.                    android:layout_height="wrap_content"
  236.                    android:textAppearance="?android:attr/textAppearanceSmall"
  237.                    android:text="To Add"
  238.                    android:id="@+id/textView16"
  239.                    android:textAlignment="center"
  240.                    android:layout_centerHorizontal="true"
  241.                    android:layout_alignParentBottom="true"
  242.                    android:layout_marginBottom="35dp"
  243.                    />
  244.                 <ImageView
  245.                    android:layout_width="wrap_content"
  246.                    android:layout_height="wrap_content"
  247.                    android:src="@drawable/eng"
  248.                    android:layout_alignParentBottom="true"
  249.                    android:layout_alignParentLeft="true"
  250.                    android:layout_margin="5dp"
  251.                    />
  252.             </RelativeLayout>
  253.         </LinearLayout>
  254.         <LinearLayout
  255.            android:orientation="horizontal"
  256.            android:layout_width="match_parent"
  257.            android:layout_height="wrap_content"
  258.            android:layout_weight="0.33"
  259.            android:id="@+id/Linear3"
  260.            >
  261.  
  262.             <RelativeLayout
  263.                android:layout_width="0dp"
  264.                android:layout_height="match_parent"
  265.                android:background="@color/tileColor7"
  266.                android:layout_weight="1"
  267.                android:id="@+id/tileLayout5"
  268.                >
  269.  
  270.                 <TextView
  271.                    android:layout_width="wrap_content"
  272.                    android:layout_height="wrap_content"
  273.                    android:textAppearance="?android:attr/textAppearanceLarge"
  274.                    android:text="To Add"
  275.                    android:id="@+id/textView9"
  276.                    android:layout_centerHorizontal="true"
  277.  
  278.                    android:layout_marginTop="31dp" />
  279.  
  280.                 <TextView
  281.                    android:layout_width="wrap_content"
  282.                    android:layout_height="wrap_content"
  283.                    android:textAppearance="?android:attr/textAppearanceSmall"
  284.                    android:text="To Add"
  285.                    android:id="@+id/textView10"
  286.                    android:layout_centerHorizontal="true"
  287.                    android:layout_alignParentBottom="true"
  288.                    android:layout_marginBottom="35dp" />
  289.                 <ImageView
  290.                    android:layout_width="wrap_content"
  291.                    android:layout_height="wrap_content"
  292.                    android:src="@drawable/rus"
  293.                    android:layout_alignParentBottom="true"
  294.                    android:layout_alignParentLeft="true"
  295.                    android:layout_margin="5dp"
  296.                    />
  297.             </RelativeLayout>
  298.             <RelativeLayout
  299.                android:layout_width="0dp"
  300.                android:layout_height="match_parent"
  301.                android:background="@color/tileColor8"
  302.                android:layout_weight="1"
  303.                android:id="@+id/tileLayout6">
  304.  
  305.                 <TextView
  306.                    android:layout_width="wrap_content"
  307.                    android:layout_height="wrap_content"
  308.                    android:textAppearance="?android:attr/textAppearanceLarge"
  309.                    android:text="To Add"
  310.                    android:id="@+id/textView11"
  311.                    android:layout_centerHorizontal="true"
  312.  
  313.                    android:layout_marginTop="31dp"/>
  314.  
  315.                 <TextView
  316.                    android:layout_width="wrap_content"
  317.                    android:layout_height="wrap_content"
  318.                    android:textAppearance="?android:attr/textAppearanceSmall"
  319.                    android:text="To Add"
  320.                    android:id="@+id/textView12"
  321.                    android:textAlignment="center"
  322.                    android:layout_centerHorizontal="true"
  323.                    android:layout_alignParentBottom="true"
  324.                    android:layout_marginBottom="35dp"
  325.                    />
  326.                 <ImageView
  327.                    android:layout_width="wrap_content"
  328.                    android:layout_height="wrap_content"
  329.                    android:src="@drawable/eng"
  330.                    android:layout_alignParentBottom="true"
  331.                    android:layout_alignParentLeft="true"
  332.                    android:layout_margin="5dp"
  333.                    />
  334.             </RelativeLayout>
  335.         </LinearLayout>
  336. </LinearLayout>
  337. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement