Guest User

Untitled

a guest
Mar 31st, 2017
508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:paddingLeft="16dp"
  7. android:paddingRight="16dp"
  8. tools:context="com.icici.iciciappathon.login.AuthenticationActivity">
  9.  
  10. <android.support.design.widget.TextInputLayout
  11. android:id="@+id/client_id_input_layout"
  12. android:layout_width="0dp"
  13. android:layout_height="wrap_content"
  14. app:layout_constraintBottom_toTopOf="@+id/guideline"
  15. app:layout_constraintLeft_toLeftOf="parent"
  16. app:layout_constraintRight_toRightOf="parent">
  17.  
  18. <android.support.design.widget.TextInputEditText
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:hint="@string/login_client_id"
  22. android:inputType="textEmailAddress" />
  23.  
  24. </android.support.design.widget.TextInputLayout>
  25.  
  26. <android.support.design.widget.TextInputLayout
  27. android:id="@+id/access_code_input_layout"
  28. android:layout_width="0dp"
  29. android:layout_height="wrap_content"
  30. app:layout_constraintLeft_toLeftOf="parent"
  31. app:layout_constraintRight_toRightOf="parent"
  32. app:layout_constraintTop_toBottomOf="@id/guideline">
  33.  
  34. <android.support.design.widget.TextInputEditText
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:hint="@string/login_participation_access_code"
  38. android:inputType="textPassword" />
  39.  
  40. </android.support.design.widget.TextInputLayout>
  41.  
  42. <android.support.v7.widget.AppCompatButton
  43. android:id="@+id/authenticate"
  44. android:layout_width="0dp"
  45. android:layout_height="wrap_content"
  46. android:text="@string/login_auth"
  47. app:layout_constraintLeft_toLeftOf="parent"
  48. app:layout_constraintRight_toRightOf="parent"
  49. app:layout_constraintTop_toBottomOf="@+id/access_code_input_layout"
  50. app:layout_goneMarginTop="16dp" />
  51.  
  52. <android.support.constraint.Guideline
  53. android:id="@+id/guideline"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:orientation="horizontal"
  57. app:layout_constraintGuide_percent=".5" />
  58.  
  59. </android.support.constraint.ConstraintLayout>
Add Comment
Please, Sign In to add comment