Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/colorPrimary"
  8. android:orientation="vertical"
  9. tools:context=".SplashScreen">
  10.  
  11. <RelativeLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent">
  14.  
  15. <LinearLayout
  16. android:layout_width="330dp"
  17. android:layout_height="match_parent"
  18. android:layout_centerInParent="true"
  19. android:orientation="vertical"
  20. android:padding="10dp">
  21.  
  22. <View
  23. android:layout_width="0dp"
  24. android:layout_height="100dp" />
  25.  
  26. <ImageView
  27. android:layout_width="80dp"
  28. android:layout_height="80dp"
  29. android:layout_gravity="center"
  30. android:src="@drawable/logo">
  31.  
  32. </ImageView>
  33.  
  34. <ImageView
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:src="@drawable/logomin_recortado">
  38.  
  39. </ImageView>
  40.  
  41. <View
  42. android:layout_width="0dp"
  43. android:layout_height="0dp"
  44. android:layout_weight="1" />
  45.  
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:orientation="horizontal">
  50.  
  51. <LinearLayout
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:orientation="vertical"
  55. android:layout_weight="1">
  56. <Button
  57. android:id="@+id/btn_login"
  58. android:layout_width="match_parent"
  59. android:layout_height="55dp"
  60. android:background="@drawable/btn_white"
  61. android:text="Ingresar"
  62. android:textAllCaps="false"
  63. android:textColor="@android:color/black"
  64. android:textStyle="bold" />
  65. </LinearLayout>
  66.  
  67.  
  68. <LinearLayout
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:orientation="vertical"
  72. android:layout_weight="1">
  73. <Button
  74. android:id="@+id/btnregistro"
  75. android:layout_width="match_parent"
  76. android:layout_height="55dp"
  77. android:background="@drawable/btn_dark"
  78. android:text="Regístrate"
  79. android:textAllCaps="false"
  80. android:textColor="@android:color/white"
  81. android:textStyle="bold" />
  82.  
  83. </LinearLayout>
  84.  
  85. </LinearLayout>
  86.  
  87. <View
  88. android:layout_width="0dp"
  89. android:layout_height="35dp" />
  90.  
  91.  
  92. </LinearLayout>
  93.  
  94. </RelativeLayout>
  95.  
  96.  
  97. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement