Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout 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:id="@+id/main_layout"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@color/grey_100"
  9. android:weightSum="4">
  10.  
  11.  
  12. <EditText
  13. android:id="@+id/field_phone_number"
  14. android:layout_width="0dp"
  15. android:layout_height="wrap_content"
  16. android:layout_marginBottom="56dp"
  17. android:layout_marginStart="16dp"
  18. android:layout_weight="1.0"
  19. android:hint="@string/hint_phone_number"
  20. android:inputType="phone"
  21. app:layout_constraintBottom_toTopOf="@+id/button_start_verification"
  22. app:layout_constraintStart_toStartOf="@+id/icon" />
  23.  
  24. <Button
  25. android:id="@+id/button_start_verification"
  26. android:layout_width="0dp"
  27. android:layout_height="52dp"
  28. android:layout_marginBottom="92dp"
  29. android:layout_marginStart="64dp"
  30. android:layout_weight="1.0"
  31. android:text="@string/start_phone_auth"
  32. android:theme="@style/ThemeOverlay.MyDarkButton"
  33. app:layout_constraintBottom_toBottomOf="parent"
  34. app:layout_constraintStart_toStartOf="@+id/field_phone_number" />
  35.  
  36. <EditText
  37. android:id="@+id/field_verification_code"
  38. style="@style/Widget.AppCompat.AutoCompleteTextView"
  39. android:layout_width="0dp"
  40. android:layout_height="48dp"
  41. android:layout_marginBottom="8dp"
  42. android:layout_weight="1.0"
  43. android:hint="@string/hint_verification_code"
  44. android:inputType="number"
  45. android:singleLine="true"
  46. android:textColor="@color/common_google_signin_btn_text_dark_focused"
  47. app:layout_constraintBottom_toTopOf="@+id/button_verify_phone"
  48. app:layout_constraintStart_toStartOf="@+id/icon" />
  49.  
  50. <Button
  51. android:id="@+id/button_verify_phone"
  52. android:layout_width="230dp"
  53. android:layout_height="57dp"
  54. android:layout_marginBottom="32dp"
  55. android:layout_marginStart="8dp"
  56. android:layout_weight="1.0"
  57. android:text="@string/verify_phone_auth"
  58. android:theme="@style/ThemeOverlay.MyDarkButton"
  59. app:layout_constraintBottom_toTopOf="@+id/button_resend"
  60. app:layout_constraintStart_toStartOf="@+id/field_verification_code" />
  61.  
  62. <Button
  63. android:id="@+id/button_resend"
  64. android:layout_width="230dp"
  65. android:layout_height="wrap_content"
  66. android:layout_marginBottom="52dp"
  67. android:layout_weight="1.0"
  68. android:text="@string/resend_phone_auth"
  69. android:theme="@style/ThemeOverlay.MyDarkButton"
  70. app:layout_constraintBottom_toBottomOf="parent"
  71. app:layout_constraintStart_toStartOf="@+id/button_verify_phone" />
  72.  
  73.  
  74. <Button
  75. android:id="@+id/sign_out_button"
  76. android:layout_width="368dp"
  77. android:layout_height="wrap_content"
  78. android:layout_marginBottom="8dp"
  79. android:layout_marginEnd="8dp"
  80. android:layout_marginStart="8dp"
  81. android:layout_marginTop="8dp"
  82. android:layout_weight="1.0"
  83. android:text="@string/sign_out"
  84. android:theme="@style/ThemeOverlay.MyDarkButton"
  85. app:layout_constraintBottom_toBottomOf="parent"
  86. app:layout_constraintEnd_toEndOf="parent"
  87. app:layout_constraintHorizontal_bias="0.0"
  88. app:layout_constraintStart_toStartOf="parent"
  89. app:layout_constraintTop_toBottomOf="@+id/icon"
  90. app:layout_constraintVertical_bias="1.0" />
  91.  
  92.  
  93. <TextView
  94. android:id="@+id/status"
  95. style="@style/ThemeOverlay.MyTextDetail"
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:text="@string/signed_out"
  99. tools:layout_editor_absoluteX="154dp"
  100. tools:layout_editor_absoluteY="112dp" />
  101.  
  102. <TextView
  103. android:id="@+id/detail"
  104. style="@style/ThemeOverlay.MyTextDetail"
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. tools:layout_editor_absoluteX="87dp"
  108. tools:layout_editor_absoluteY="62dp"
  109. tools:text="Firebase User ID: 123456789abc" />
  110.  
  111. <ImageView
  112. android:id="@+id/icon"
  113. style="@style/ThemeOverlay.FirebaseIcon"
  114. android:layout_width="250dp"
  115. android:layout_height="246dp"
  116. android:layout_alignParentStart="true"
  117. android:layout_centerVertical="true"
  118. android:contentDescription="@string/desc_Moira_lockup"
  119. android:scaleType="centerCrop"
  120. android:src="@drawable/natural_lifestyle"
  121. tools:layout_editor_absoluteX="67dp"
  122. tools:layout_editor_absoluteY="8dp" />
  123.  
  124.  
  125. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement