nafiefn_10

item.xml

May 1st, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.93 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:orientation="horizontal"
  6.     android:padding="8dp" >
  7.    
  8.     <ImageView
  9.         android:id="@+id/item_icon"
  10.         android:layout_width="48dp"
  11.        android:layout_height="48dp"
  12.         android:layout_marginRight="8dp" />
  13.     <LinearLayout
  14.         android:layout_width="match_parent"
  15.         android:layout_height="wrap_content"
  16.         android:orientation="vertical">
  17.         <TextView
  18.             android:id="@+id/item_nama"
  19.             android:layout_width="wrap_content"
  20.             android:layout_height="wrap_content"
  21.             android:text="Galaxy S4"
  22.             android:textSize="18dp" />
  23.         <TextView
  24.             android:id="@+id/item_keterangan"
  25.             android:layout_width="wrap_content"
  26.             android:layout_height="wrap_content"
  27.             android:text="Samsung"
  28.             android:textSize="12dp" />
  29.     </LinearLayout>
  30. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment