Advertisement
DiogoMartinho

Untitled

Oct 6th, 2017
830
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 2.78 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:background="#000000"
  6.    android:orientation="vertical">
  7.  
  8.     <android.support.v7.widget.LinearLayoutCompat
  9.        android:layout_width="match_parent"
  10.        android:layout_height="0dp"
  11.        android:layout_weight="1"
  12.        android:orientation="horizontal"
  13.        >
  14.  
  15.         <TextView
  16.            android:id="@+id/textView"
  17.            android:layout_width="0dp"
  18.            android:layout_height="match_parent"
  19.            android:layout_margin="15dp"
  20.            android:layout_weight="1"
  21.            android:background="#FF0000"
  22.            android:gravity="center"
  23.            android:padding="15dp"
  24.            android:text="Hello1!"
  25.            android:textColor="#FFFFFF"
  26.            android:textSize="25sp"
  27.            android:typeface="serif" />
  28.  
  29.         <TextView
  30.            android:id="@+id/textView2"
  31.            android:layout_width="0dp"
  32.            android:layout_height="match_parent"
  33.            android:layout_margin="15dp"
  34.            android:layout_weight="1"
  35.            android:background="#A0F020"
  36.            android:gravity="center"
  37.            android:padding="15dp"
  38.            android:text="Hello2!"
  39.            android:textColor="#FFFFFF"
  40.            android:textSize="25sp"
  41.            android:typeface="serif" />
  42.     </android.support.v7.widget.LinearLayoutCompat>
  43.  
  44.     <android.support.v7.widget.LinearLayoutCompat
  45.        android:layout_width="match_parent"
  46.        android:layout_height="0dp"
  47.        android:layout_weight="1"
  48.        android:orientation="horizontal"
  49.        >
  50.  
  51.         <TextView
  52.            android:id="@+id/textView3"
  53.            android:layout_width="0dp"
  54.            android:layout_height="match_parent"
  55.            android:layout_margin="15dp"
  56.            android:layout_weight="1"
  57.            android:background="#0000FF"
  58.            android:gravity="center"
  59.            android:padding="15dp"
  60.            android:text="Hello3!"
  61.            android:textColor="#FFFFFF"
  62.            android:textSize="25sp"
  63.            android:typeface="serif" />
  64.  
  65.         <TextView
  66.            android:id="@+id/textView4"
  67.            android:layout_width="0dp"
  68.            android:layout_height="match_parent"
  69.            android:layout_margin="15dp"
  70.            android:layout_weight="1"
  71.            android:background="#384734"
  72.            android:gravity="center"
  73.            android:padding="15dp"
  74.            android:text="Hello4!"
  75.            android:textColor="#FFFFFF"
  76.            android:textSize="25sp"
  77.            android:typeface="serif" />
  78.     </android.support.v7.widget.LinearLayoutCompat>
  79. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement