activity_retrieve_password.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <merge xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. tools:context=".RetrievePasswordActivity" >
  4. <!-- Login progress -->
  5. <LinearLayout
  6. android:id="@+id/login_status"
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content"
  9. android:layout_gravity="center"
  10. android:gravity="center_horizontal"
  11. android:orientation="vertical"
  12. android:visibility="gone" >
  13. <ProgressBar
  14. style="?android:attr/progressBarStyleLarge"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_marginBottom="8dp" />
  18. <TextView
  19. android:id="@+id/login_status_message"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_marginBottom="16dp"
  23. android:text="Connecting..."
  24. android:textAppearance="?android:attr/textAppearanceMedium" />
  25. </LinearLayout>
  26. <!-- Login form -->
  27. <ScrollView
  28. android:id="@+id/login_form"
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent" >
  31. <LinearLayout
  32. style="@style/LoginFormContainer"
  33. android:orientation="vertical" >
  34. <EditText
  35. android:id="@+id/user"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:hint="User name"
  39. android:imeActionId="@+id/login"
  40. android:imeActionLabel="@string/action_sign_in_short"
  41. android:imeOptions="actionUnspecified"
  42. android:maxLines="1"
  43. android:singleLine="true" />
  44. <EditText
  45. android:id="@+id/email"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:hint="@string/prompt_email"
  49. android:inputType="textEmailAddress"
  50. android:maxLines="1"
  51. android:singleLine="true" />
  52. <LinearLayout
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content" >
  55. <Button
  56. android:id="@+id/btn_close"
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:layout_marginTop="16dp"
  60. android:layout_weight="1"
  61. android:paddingLeft="32dp"
  62. android:paddingRight="32dp"
  63. android:text="Close" />
  64. <Button
  65. android:id="@+id/btn_ok"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:layout_marginTop="16dp"
  69. android:layout_weight="1"
  70. android:paddingLeft="32dp"
  71. android:paddingRight="32dp"
  72. android:text="Ok" />
  73. </LinearLayout>
  74. </LinearLayout>
  75. </ScrollView>
  76. </merge>