Advertisement
Guest User

android

a guest
May 20th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.19 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    tools:context=".FirstFragment"
  6.    android:background="@color/firstFragmentColor">
  7.  
  8.     <!-- TODO: Update blank fragment layout -->
  9.     <TextView
  10.        android:layout_width="80dp"
  11.        android:layout_height="wrap_content"
  12.        android:id="@+id/name"
  13.        android:text="Name: "/>
  14.     <TextView
  15.        android:layout_width="wrap_content"
  16.        android:layout_height="wrap_content"
  17.        android:id="@+id/nameME"
  18.        android:layout_alignRight="@+id/name"
  19.        android:text="@string/name"/>
  20.     <TextView
  21.        android:id="@+id/textView"
  22.        android:layout_width="165dp"
  23.        android:layout_height="wrap_content"
  24.        android:layout_below="@+id/nameME"
  25.        android:text="Program: " />
  26.     <TextView
  27.        android:layout_width="100dp"
  28.        android:layout_height="wrap_content"
  29.        android:id="@+id/program"
  30.        android:layout_below="@+id/nameME"
  31.        android:layout_alignRight="@+id/textView"
  32.        android:text="@string/program"/>
  33.     <TextView
  34.        android:id="@+id/textView1"
  35.        android:layout_width="130dp"
  36.        android:layout_height="wrap_content"
  37.        android:layout_below="@+id/textView"
  38.        android:text="Course: " />
  39.     <TextView
  40.        android:layout_width="wrap_content"
  41.        android:layout_height="wrap_content"
  42.        android:layout_below="@+id/textView"
  43.        android:id="@+id/course"
  44.        android:layout_alignRight="@+id/textView1"
  45.        android:text="@string/course"/>
  46.     <TextView
  47.        android:id="@+id/textView2"
  48.        android:layout_width="180dp"
  49.        android:layout_height="wrap_content"
  50.        android:layout_below="@+id/textView1"
  51.        android:text="Hobby: " />
  52.     <TextView
  53.        android:layout_width="wrap_content"
  54.        android:layout_height="wrap_content"
  55.        android:layout_below="@+id/textView1"
  56.        android:id="@+id/hobby"
  57.        android:layout_alignRight="@+id/textView2"
  58.        android:text="@string/hobby"/>
  59.  
  60. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement