cred_edit.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical"
  6. >
  7. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:orientation="horizontal"
  11. >
  12. <TextView
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:text="Username"
  16. />
  17. <EditText android:id="@+id/cred_edit_username"
  18. android:layout_weight="1"
  19. android:layout_width="0dp"
  20. android:layout_height="wrap_content"
  21. android:singleLine="true"
  22. android:lines="1"
  23. />
  24. </LinearLayout>
  25. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:orientation="horizontal"
  29. >
  30. <TextView
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:text="Realm"
  34. />
  35. <EditText android:id="@+id/cred_edit_realm"
  36. android:layout_weight="1"
  37. android:layout_width="0dp"
  38. android:layout_height="wrap_content"
  39. android:singleLine="true"
  40. android:lines="1"
  41. />
  42. </LinearLayout>
  43. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:orientation="horizontal"
  47. >
  48. <TextView
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:text="Password"
  52. />
  53. <EditText android:id="@+id/cred_edit_password"
  54. android:layout_weight="1"
  55. android:layout_width="0dp"
  56. android:layout_height="wrap_content"
  57. android:singleLine="true"
  58. android:lines="1"
  59. android:inputType="textPassword"
  60. />
  61. </LinearLayout>
  62. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:orientation="horizontal"
  66. >
  67. <TextView
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:text="Domain"
  71. />
  72. <EditText android:id="@+id/cred_edit_domain"
  73. android:layout_weight="1"
  74. android:layout_width="0dp"
  75. android:layout_height="wrap_content"
  76. android:singleLine="true"
  77. android:lines="1"
  78. />
  79. </LinearLayout>
  80. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:orientation="horizontal"
  84. >
  85. <TextView
  86. android:layout_width="wrap_content"
  87. android:layout_height="wrap_content"
  88. android:text="IMSI"
  89. />
  90. <EditText android:id="@+id/cred_edit_imsi"
  91. android:layout_weight="1"
  92. android:layout_width="0dp"
  93. android:layout_height="wrap_content"
  94. android:singleLine="true"
  95. android:lines="1"
  96. android:hint="Used only with SIM/USIM testing"
  97. />
  98. </LinearLayout>
  99. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  100. android:layout_width="match_parent"
  101. android:layout_height="wrap_content"
  102. android:orientation="horizontal"
  103. >
  104. <Button
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:text="Save"
  108. android:onClick="credSave"
  109. />
  110. <Button
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:text="Cancel"
  114. android:onClick="credCancel"
  115. />
  116. </LinearLayout>
  117. </LinearLayout>