input.xml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/inputBackground"
  6. android:maxHeight="@dimen/keyboard_max_height">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical"
  11. android:id="@+id/container">
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:padding="5dp">
  16. <TextView
  17. style="@android:style/Widget.DeviceDefault.Light.TextView"
  18. android:id="@+id/prevButton"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:clickable="true"
  22. android:focusable="true"
  23. android:text="@string/ChangeKeyboard"
  24. android:layout_weight="0.5"
  25. android:textStyle="bold" />
  26. <View
  27. android:layout_width="1dp"
  28. android:layout_height="match_parent"
  29. android:layout_weight="5" />
  30. <TextView
  31. style="@android:style/Widget.DeviceDefault.Light.TextView"
  32. android:id="@+id/backspaceButton"
  33. android:layout_width="@dimen/fab_margin"
  34. android:layout_height="@dimen/fab_margin"
  35. android:clickable="true"
  36. android:focusable="true"
  37. android:background="@drawable/sym_keyboard_delete"
  38. android:maxHeight="@dimen/keyboard_key_height"
  39. android:layout_weight="0.5"
  40. android:layout_gravity="end"
  41. android:textAlignment="textEnd"
  42. android:textStyle="bold" />
  43. <TextView
  44. style="@android:style/Widget.DeviceDefault.Light.TextView"
  45. android:id="@+id/generateButton"
  46. android:layout_width="@dimen/fab_margin"
  47. android:layout_height="@dimen/fab_margin"
  48. android:clickable="true"
  49. android:focusable="true"
  50. android:background="@drawable/ic_doc_text"
  51. android:layout_weight="0.5"
  52. android:layout_gravity="end"
  53. android:textAlignment="textEnd"
  54. android:textStyle="bold" />
  55. <TextView
  56. style="@android:style/Widget.DeviceDefault.Light.TextView"
  57. android:id="@+id/openAppButton"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:clickable="true"
  61. android:focusable="true"
  62. android:text="@string/title"
  63. android:layout_weight="0.5"
  64. android:layout_gravity="end"
  65. android:textAlignment="textEnd"
  66. android:textStyle="bold" />
  67. </LinearLayout>
  68. <View
  69. android:layout_width="match_parent"
  70. android:layout_height="1dp"
  71. android:background="@color/colorSeparator"/>
  72. <info.knacki.pass.services.AccessibilityView
  73. android:id="@+id/accessibility"
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"/>
  76. </LinearLayout>
  77. </android.support.constraint.ConstraintLayout>