Advertisement
Mujiburrohman

item siswa

Apr 3rd, 2019
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.29 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="85dp"
  7.    android:layout_margin="10dp">
  8.  
  9.  
  10.     <android.support.v7.widget.CardView
  11.        android:id="@+id/cardView"
  12.        android:layout_width="0dp"
  13.        android:layout_height="0dp"
  14.        app:layout_constraintBottom_toBottomOf="parent"
  15.        app:layout_constraintEnd_toEndOf="parent"
  16.        app:layout_constraintStart_toStartOf="parent"
  17.        app:layout_constraintTop_toTopOf="parent">
  18.  
  19.         <LinearLayout
  20.            android:layout_width="match_parent"
  21.            android:layout_height="85dp"
  22.            android:orientation="vertical">
  23.  
  24.             <LinearLayout
  25.                android:layout_width="match_parent"
  26.                android:layout_height="85dp"
  27.                android:orientation="horizontal">
  28.  
  29.                 <LinearLayout
  30.                    android:layout_width="wrap_content"
  31.                    android:layout_height="wrap_content"
  32.                    android:orientation="vertical">
  33.  
  34.                     <TextView
  35.                        android:layout_width="wrap_content"
  36.                        android:layout_height="wrap_content"
  37.                        android:fontFamily="sans-serif-light"
  38.                        android:text="Nama    :"
  39.                        android:textSize="20dp" />
  40.  
  41.                     <TextView
  42.                        android:layout_width="wrap_content"
  43.                        android:fontFamily="sans-serif-light"
  44.                        android:layout_height="wrap_content"
  45.                        android:text="Kelas     :"
  46.                        android:textSize="20dp" />
  47.  
  48.                     <TextView
  49.                        android:layout_width="wrap_content"
  50.                        android:layout_height="wrap_content"
  51.                        android:fontFamily="sans-serif-light"
  52.                        android:text="Email     :"
  53.                        android:textSize="20dp" />
  54.                 </LinearLayout>
  55.  
  56.                 <LinearLayout
  57.                    android:layout_width="250dp"
  58.                    android:layout_height="wrap_content"
  59.                    android:layout_marginLeft="20dp"
  60.                    android:orientation="vertical">
  61.  
  62.  
  63.                     <TextView
  64.                        android:id="@+id/itm_nama_siswa"
  65.                        android:layout_width="wrap_content"
  66.                        android:layout_height="wrap_content"
  67.                        android:fontFamily="sans-serif-light"
  68.                        android:text="Mujiburrohman"
  69.                        android:textSize="20dp" />
  70.  
  71.                     <TextView
  72.                        android:id="@+id/itm_kelas_siswa"
  73.                        android:layout_width="wrap_content"
  74.                        android:layout_height="wrap_content"
  75.                        android:fontFamily="sans-serif-light"
  76.                        android:text="X RPL A"
  77.                        android:textSize="20dp" />
  78.  
  79.                     <TextView
  80.                        android:id="@+id/itm_email_siswa"
  81.                        android:layout_width="wrap_content"
  82.                        android:fontFamily="sans-serif-light"
  83.                        android:layout_height="wrap_content"
  84.                        android:text="Mujibnewbie5@gmail.com"
  85.                        android:textSize="20dp" />
  86.  
  87.  
  88.                 </LinearLayout>
  89.  
  90.                 <RelativeLayout
  91.                    android:layout_width="wrap_content"
  92.                    android:layout_height="wrap_content"
  93.                    android:orientation="vertical">
  94.  
  95.                     <ImageButton
  96.                        android:id="@+id/delete"
  97.                        android:layout_width="wrap_content"
  98.                        android:layout_height="wrap_content"
  99.                        android:layout_marginRight="100dp"
  100.                        android:src="@drawable/ic_delete_black_24dp" />
  101.                 </RelativeLayout>
  102.  
  103.             </LinearLayout>
  104.  
  105.         </LinearLayout>
  106.     </android.support.v7.widget.CardView>
  107. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement