Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 22nd, 2013  |  syntax: None  |  size: 1.13 KB  |  views: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     android:layout_width="fill_parent"
  4.     android:layout_height="wrap_content"
  5.     android:background="@drawable/sliding_menu_onclick_background"
  6.     android:clickable="true"
  7.     android:orientation="horizontal"
  8.     android:paddingBottom="5dp"
  9.     android:paddingLeft="10dp"
  10.     android:paddingRight="10dp"
  11.     android:paddingTop="5dp" >
  12.  
  13.     <ImageView
  14.         android:id="@+id/categories_icon"
  15.         android:layout_width="wrap_content"
  16.         android:layout_height="match_parent"
  17.         android:paddingRight="5dp"
  18.         android:src="@drawable/water_fall" />
  19.  
  20.     <CheckedTextView
  21.         android:id="@+id/categories_checkbox"
  22.         android:layout_width="fill_parent"
  23.         android:layout_height="?android:attr/listPreferredItemHeight"
  24.         android:checkMark="?android:attr/listChoiceIndicatorMultiple"
  25.         android:checked="false"
  26.         android:gravity="center_vertical"
  27.         android:onClick="toggle"
  28.         android:text="Water Fall"
  29.         android:textColor="#FFFFFF" />
  30.  
  31. </LinearLayout>
clone this paste RAW Paste Data