prachiDurge

Untitled

Jul 20th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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="wrap_content"
  5.  
  6. android:orientation="horizontal"
  7. >
  8.  
  9. <LinearLayout
  10. android:id="@+id/aaa"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_alignParentLeft="true"
  14. android:layout_gravity="center"
  15. android:layout_marginRight="8dip"
  16. android:layout_gravity="center_vertical"
  17. android:background="@drawable/image_bg"
  18. android:padding="3dip">
  19.  
  20. <ImageView
  21. android:id="@+id/list_image"
  22. android:layout_width="50dip"
  23. android:layout_height="50dip"
  24. android:src="@drawable/rihanna" />
  25.  
  26. </LinearLayout>
  27.  
  28. <LinearLayout
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:orientation="vertical">
  32.  
  33.  
  34. <!-- Name Label -->
  35.  
  36.  
  37.  
  38.  
  39.  
  40. <TextView
  41. android:id="@+id/email"
  42. android:layout_width="fill_parent"
  43. android:layout_height="wrap_content"
  44. android:paddingBottom="2dip"
  45. android:paddingTop="5dp"
  46. android:textColor="#acacac" />
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. <ToggleButton
  55. android:id="@+id/toggleButton1"
  56. android:layout_width="30dp"
  57. android:layout_height="30dp"
  58. android:layout_alignParentRight="true"
  59. android:layout_centerVertical="true"
  60. android:layout_marginLeft="150dp"
  61. android:layout_marginTop="15dp"
  62. android:background="@drawable/toggle"
  63. android:text=""
  64. android:textOff=""
  65. android:textOn=""
  66. android:focusable="false">
  67. </ToggleButton>
  68. </LinearLayout>
  69.  
  70.  
  71. </RelativeLayout >
Advertisement
Add Comment
Please, Sign In to add comment