Advertisement
Guest User

Untitled

a guest
Jul 28th, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:gravity="right">
  6.    
  7.     <!-- Checkbox -->
  8.     <CheckBox
  9.     xmlns:android="http://schemas.android.com/apk/res/android"    
  10.     android:id="@+id/cb_list"
  11.     android:layout_height="50dip"
  12.     android:layout_width="50dip"
  13.     android:layout_toRightOf="@+id/name"
  14.     android:gravity="right" />
  15.    
  16.     <!-- Name -->
  17.     <TextView xmlns:android="http://schemas.android.com/apk/res/android"
  18.     android:id="@+id/name"
  19.     android:layout_height="wrap_content"
  20.     android:layout_width="wrap_content"
  21.     android:textSize="16dip"
  22.     android:textStyle="normal"
  23.     android:textColor="#10bcc9"
  24.     android:gravity="right">
  25.      </TextView>
  26.      
  27.      <!-- Description-->  
  28.      <TextView xmlns:android="http://schemas.android.com/apk/res/android"
  29.     android:id="@+id/desc"
  30.     android:layout_height="wrap_content"
  31.     android:layout_width="wrap_content"
  32.     android:layout_below="@id/name"
  33.     android:layout_toRightOf="@+id/cb_list"
  34.     android:layout_marginTop="1dip"
  35.     android:textSize="12dip"
  36.     android:textStyle="italic"
  37.     android:textColor="#d4d4d4"
  38.     android:gravity="right">
  39.      </TextView>
  40.      
  41.      <!-- Date -->
  42.      <TextView xmlns:android="http://schemas.android.com/apk/res/android"
  43.     android:id="@+id/date"
  44.     android:layout_height="wrap_content"
  45.     android:layout_width="wrap_content"
  46.     android:layout_below="@id/name"
  47.     android:layout_toRightOf="@+id/cb_list"
  48.     android:layout_marginTop="3dip"
  49.     android:textSize="10dip"
  50.     android:textStyle="bold"
  51.     android:layout_alignParentLeft="true"
  52.     android:layout_marginLEft="5dip"
  53.     android:textColor="#d4d4d4"
  54.     android:gravity="right">    
  55.      </TextView>
  56.      
  57. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement