Advertisement
dzar

layout_list_mahasiswa

Oct 19th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.39 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent" >
  5.  
  6.  
  7.     <LinearLayout
  8.        android:orientation="horizontal"
  9.        android:layout_width="match_parent"
  10.        android:layout_height="match_parent">
  11.  
  12.         <ImageView
  13.            android:layout_width="@android:dimen/notification_large_icon_width"
  14.            android:layout_height="@android:dimen/notification_large_icon_height"
  15.            android:layout_rowSpan="2"
  16.            android:id="@+id/imageView"
  17.            android:layout_row="0"
  18.            android:layout_column="0" />
  19.  
  20.         <TextView
  21.            android:layout_width="wrap_content"
  22.            android:layout_height="wrap_content"
  23.            android:textAppearance="?android:attr/textAppearanceLarge"
  24.            android:text="  "
  25.            android:id="@+id/textView2" />
  26.  
  27.         <LinearLayout
  28.            android:orientation="vertical"
  29.            android:layout_width="match_parent"
  30.            android:layout_height="match_parent"
  31.            android:layout_gravity="left"
  32.            android:gravity="left">
  33.  
  34.             <TextView
  35.                android:layout_width="wrap_content"
  36.                android:layout_height="wrap_content"
  37.                android:text="New Text"
  38.                android:layout_columnWeight="1"
  39.                android:id="@+id/textViewName"
  40.                android:layout_row="0"
  41.                android:layout_column="1"
  42.                android:textColor="@android:color/holo_red_dark"
  43.                android:textSize="20dp" />
  44.  
  45.             <TextView
  46.                android:layout_width="wrap_content"
  47.                android:layout_height="wrap_content"
  48.                android:text="New Text"
  49.                android:layout_columnWeight="1"
  50.                android:id="@+id/textViewDesc"
  51.                android:layout_row="1"
  52.                android:layout_column="1" />
  53.  
  54.             <TextView
  55.                android:layout_width="wrap_content"
  56.                android:layout_height="wrap_content"
  57.                android:text="New Text"
  58.                android:layout_columnWeight="1"
  59.                android:id="@+id/textViewHp"
  60.                android:layout_row="2"
  61.                android:layout_column="1" />
  62.         </LinearLayout>
  63.     </LinearLayout>
  64. </GridLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement