Guest User

Untitled

a guest
Aug 27th, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.91 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="wrap_content"
  5.    android:padding="10dp">
  6.  
  7.     <LinearLayout
  8.        android:layout_width="match_parent"
  9.        android:layout_height="wrap_content"
  10.        android:orientation="vertical">
  11.  
  12.         <LinearLayout
  13.            android:layout_width="match_parent"
  14.            android:layout_height="wrap_content"
  15.            android:layout_marginBottom="10dp"
  16.            android:background="@android:color/darker_gray"
  17.            android:orientation="vertical">
  18.  
  19.             <TextView
  20.                android:layout_width="wrap_content"
  21.                android:layout_height="wrap_content"
  22.                android:text="element1: mplampla" />
  23.  
  24.             <TextView
  25.                android:layout_width="wrap_content"
  26.                android:layout_height="wrap_content"
  27.                android:text="element2: mplampla" />
  28.  
  29.         </LinearLayout>
  30.  
  31.         <LinearLayout
  32.            android:layout_width="match_parent"
  33.            android:layout_height="wrap_content"
  34.            android:layout_marginBottom="10dp"
  35.            android:background="@android:color/darker_gray"
  36.            android:orientation="horizontal">
  37.  
  38.             <TextView
  39.                android:layout_width="wrap_content"
  40.                android:layout_height="wrap_content"
  41.                android:gravity="top"
  42.                android:text="element3:" />
  43.  
  44.             <LinearLayout
  45.                android:layout_width="match_parent"
  46.                android:layout_height="wrap_content"
  47.                android:orientation="vertical"
  48.                android:paddingStart="10dp"
  49.                android:paddingTop="20dp"
  50.                android:paddingEnd="10dp"
  51.                android:paddingBottom="10dp">
  52.  
  53.                 <TextView
  54.                    android:layout_width="match_parent"
  55.                    android:layout_height="wrap_content"
  56.                    android:layout_gravity="start"
  57.                    android:text="item1: mplamplampla" />
  58.  
  59.                 <TextView
  60.                    android:layout_width="match_parent"
  61.                    android:layout_height="wrap_content"
  62.                    android:layout_gravity="start"
  63.                    android:text="item2: mplamplampla" />
  64.  
  65.                 <TextView
  66.                    android:layout_width="match_parent"
  67.                    android:layout_height="wrap_content"
  68.                    android:layout_gravity="start"
  69.                    android:text="item3: mplamplampla" />
  70.  
  71.                 <TextView
  72.                    android:layout_width="match_parent"
  73.                    android:layout_height="wrap_content"
  74.                    android:layout_gravity="start"
  75.                    android:text="item4: mplamplampla" />
  76.  
  77.                 <TextView
  78.                    android:layout_width="match_parent"
  79.                    android:layout_height="wrap_content"
  80.                    android:layout_gravity="start"
  81.                    android:text="item5:" />
  82.             </LinearLayout>
  83.  
  84.         </LinearLayout>
  85.  
  86.  
  87.         <LinearLayout
  88.            android:layout_width="match_parent"
  89.            android:layout_height="wrap_content"
  90.            android:baselineAligned="false"
  91.            android:orientation="horizontal"
  92.            android:weightSum="4">
  93.  
  94.             <LinearLayout
  95.                android:layout_width="0dp"
  96.                android:layout_height="wrap_content"
  97.                android:layout_weight="1"
  98.                android:background="@android:color/red"
  99.                android:orientation="vertical"
  100.                android:padding="5dp">
  101.  
  102.                 <TextView
  103.                    android:layout_width="match_parent"
  104.                    android:layout_height="wrap_content"
  105.                    android:text="subItem 1: mpla," />
  106.  
  107.                 <TextView
  108.                    android:layout_width="match_parent"
  109.                    android:layout_height="wrap_content"
  110.                    android:text="subItem 2: mpla," />
  111.  
  112.                 <TextView
  113.                    android:layout_width="match_parent"
  114.                    android:layout_height="wrap_content"
  115.                    android:text="subItem 3: mpla," />
  116.  
  117.                 <TextView
  118.                    android:layout_width="match_parent"
  119.                    android:layout_height="wrap_content"
  120.                    android:text="subItem 4: mpla," />
  121.  
  122.                 <TextView
  123.                    android:layout_width="match_parent"
  124.                    android:layout_height="wrap_content"
  125.                    android:text="subItem 5: mpla" />
  126.  
  127.             </LinearLayout>
  128.  
  129.             <LinearLayout
  130.                android:layout_width="0dp"
  131.                android:layout_height="wrap_content"
  132.                android:layout_marginStart="8dp"
  133.                android:layout_weight="1"
  134.                android:background="@android:color/holo_blue_bright"
  135.                android:orientation="vertical"
  136.                android:padding="5dp">
  137.  
  138.                 <TextView
  139.                    android:layout_width="match_parent"
  140.                    android:layout_height="wrap_content"
  141.                    android:text="subItem 1: mpla," />
  142.  
  143.                 <TextView
  144.                    android:layout_width="match_parent"
  145.                    android:layout_height="wrap_content"
  146.                    android:text="subItem 2: mpla," />
  147.  
  148.                 <TextView
  149.                    android:layout_width="match_parent"
  150.                    android:layout_height="wrap_content"
  151.                    android:text="subItem 3: mpla," />
  152.  
  153.                 <TextView
  154.                    android:layout_width="match_parent"
  155.                    android:layout_height="wrap_content"
  156.                    android:text="subItem 4: mpla," />
  157.  
  158.                 <TextView
  159.                    android:layout_width="match_parent"
  160.                    android:layout_height="wrap_content"
  161.                    android:text="subItem 5: mpla" />
  162.  
  163.             </LinearLayout>
  164.  
  165.             <LinearLayout
  166.                android:layout_width="0dp"
  167.                android:layout_height="wrap_content"
  168.                android:layout_marginStart="8dp"
  169.                android:layout_weight="1"
  170.                android:background="@android:color/holo_orange_dark"
  171.                android:orientation="vertical"
  172.                android:padding="5dp">
  173.  
  174.                 <TextView
  175.                    android:layout_width="match_parent"
  176.                    android:layout_height="wrap_content"
  177.                    android:text="subItem 1: mpla," />
  178.  
  179.                 <TextView
  180.                    android:layout_width="match_parent"
  181.                    android:layout_height="wrap_content"
  182.                    android:text="subItem 2: mpla," />
  183.  
  184.                 <TextView
  185.                    android:layout_width="match_parent"
  186.                    android:layout_height="wrap_content"
  187.                    android:text="subItem 3: mpla," />
  188.  
  189.                 <TextView
  190.                    android:layout_width="match_parent"
  191.                    android:layout_height="wrap_content"
  192.                    android:text="subItem 4: mpla," />
  193.  
  194.                 <TextView
  195.                    android:layout_width="match_parent"
  196.                    android:layout_height="wrap_content"
  197.                    android:text="subItem 5: mpla" />
  198.  
  199.             </LinearLayout>
  200.  
  201.             <LinearLayout
  202.                android:layout_width="0dp"
  203.                android:layout_height="wrap_content"
  204.                android:layout_marginStart="8dp"
  205.                android:layout_weight="1"
  206.                android:background="@android:color/holo_green_light"
  207.                android:orientation="vertical"
  208.                android:padding="5dp">
  209.  
  210.                 <TextView
  211.                    android:layout_width="match_parent"
  212.                    android:layout_height="wrap_content"
  213.                    android:text="subItem 1: mpla," />
  214.  
  215.                 <TextView
  216.                    android:layout_width="match_parent"
  217.                    android:layout_height="wrap_content"
  218.                    android:text="subItem 2: mpla," />
  219.  
  220.                 <TextView
  221.                    android:layout_width="match_parent"
  222.                    android:layout_height="wrap_content"
  223.                    android:text="subItem 3: mpla," />
  224.  
  225.                 <TextView
  226.                    android:layout_width="match_parent"
  227.                    android:layout_height="wrap_content"
  228.                    android:text="subItem 4: mpla," />
  229.  
  230.                 <TextView
  231.                    android:layout_width="match_parent"
  232.                    android:layout_height="wrap_content"
  233.                    android:text="subItem 5: mpla" />
  234.  
  235.             </LinearLayout>
  236.         </LinearLayout>
  237.  
  238.     </LinearLayout>
  239.  
  240.  
  241. </RelativeLayout>
Add Comment
Please, Sign In to add comment