activity_pass_edit.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical">
  11. <TextView
  12. android:id="@+id/unencrypted_warning"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:background="@color/colorAccent"
  16. android:text="@string/password_not_encrypted_wrong_default" />
  17. <android.support.v7.widget.AppCompatEditText
  18. android:id="@+id/password_edit"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:ems="10"
  22. android:inputType="textMultiLine|textPassword"
  23. tools:layout_editor_absoluteX="0dp"
  24. tools:layout_editor_absoluteY="0dp"/>
  25. <LinearLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="0dp"
  28. android:layout_weight="1"
  29. android:gravity="bottom">
  30. <android.support.v7.widget.AppCompatCheckBox
  31. android:id="@+id/showPasswordCheckbox"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:checked="false"
  35. android:text="@string/edit_ShowPassword"/>
  36. <android.support.v7.widget.AppCompatButton
  37. android:id="@+id/saveButton"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:text="@string/edit_Save" />
  41. </LinearLayout>
  42. </LinearLayout>
  43. </android.support.constraint.ConstraintLayout>