thieumao

XML demo

Nov 15th, 2013
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.07 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    android:layout_width="match_parent"
  3.    android:layout_height="match_parent"
  4.    android:background="@drawable/bg"
  5.    android:orientation="vertical" >
  6.  
  7.     <LinearLayout
  8.        android:layout_width="match_parent"
  9.        android:layout_margin="30dp"
  10.        android:gravity="center_horizontal"
  11.        android:layout_height="wrap_content"
  12.        android:orientation="vertical" >
  13.  
  14.         <ImageView
  15.            android:id="@+id/imageView1"
  16.            android:layout_width="200dp"
  17.            android:layout_height="180dp"
  18.            android:src="@drawable/truyen" />
  19.  
  20.         <Button
  21.            android:id="@+id/button1"
  22.            android:layout_width="96dp"
  23.            android:layout_height="32dp"
  24.            android:background="@drawable/bt"
  25.            android:layout_marginTop="25dp"
  26.            android:paddingLeft="5dp"
  27.            android:paddingRight="5dp"
  28.            android:textColor="#FF0404"
  29.            android:text="Read" />
  30.     </LinearLayout>
  31.  
  32. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment