Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. tools:context="digitalhouse.app.MainActivity">
  7.  
  8. <ImageView
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:scaleType="centerCrop"
  12. android:src="@drawable/code"
  13. android:id="@+id/code" />
  14.  
  15. <View
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:background="#00000000"
  19. android:id="@+id/viewAlpha" />
  20.  
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_centerInParent="true"
  25. android:layout_marginLeft="30dp"
  26. android:background="#CCFFFFFF"
  27. android:layout_marginRight="30dp"
  28. android:orientation="vertical">
  29.  
  30. <ImageView
  31. android:layout_width="match_parent"
  32. android:layout_height="180dp"
  33. android:src="@drawable/alien"
  34. android:id="@+id/alien" />
  35.  
  36. <android.support.design.widget.TextInputLayout
  37. android:id="@+id/input_layout_username"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:layout_marginTop="10dp" />
  41.  
  42. <EditText
  43. android:id="@+id/input_username"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:hint="@string/usuario"
  47. android:inputType="text" />
  48. <EditText
  49. android:id="@+id/contra"
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:hint="@string/contra"
  53. android:inputType="text" />
  54.  
  55. <Button
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:layout_marginTop="0dp"
  59. android:text="@string/ingresar"
  60. android:id="@+id/buttonLogin"
  61. android:background="#33333333" />
  62.  
  63. </LinearLayout>
  64.  
  65. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement