Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 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="fill_parent"
  4. android:layout_height="fill_parent">
  5.  
  6. <Button
  7. android:text="Toast (Layout Personalizado)"
  8. android:id="@+id/toastButton"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:width="200dp"
  12. android:layout_centerInParent="true" />
  13.  
  14. <Button
  15. android:text="Barra de estado"
  16. android:id="@+id/barButton"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:width="200dp"
  20. android:layout_centerInParent="true"
  21. android:layout_below="@id/toastButton"/>
  22.  
  23. <Button
  24. android:text="AlertDialog"
  25. android:id="@+id/DialogButton"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:width="200dp"
  29. android:layout_centerInParent="true"
  30. android:layout_below="@id/barButton"/>
  31.  
  32. <Button
  33. android:text="ProgressDialog"
  34. android:id="@+id/ProgressButton"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:width="200dp"
  38. android:layout_centerInParent="true"
  39. android:layout_below="@id/DialogButton"/>
  40.  
  41. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement