keyboard_key_board_popu.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/rl_key"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:background="#00000000"
  7. android:orientation="vertical">
  8. <View
  9. android:id="@+id/keyboard_back_hide"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:visibility="gone" />
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:background="#7d7d7d"
  17. android:orientation="vertical">
  18. <RelativeLayout
  19. android:id="@+id/keyboard_header"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:visibility="visible">
  23. <TextView
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_centerInParent="true"
  27. android:text="智能安全加密键盘"
  28. android:textColor="#bfbfbf"
  29. android:textSize="15sp" />
  30. <TextView
  31. android:id="@+id/keyboard_finish"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_alignParentRight="true"
  35. android:layout_centerVertical="true"
  36. android:layout_marginRight="10dp"
  37. android:padding="5dp"
  38. android:text="@string/finish"
  39. android:textColor="#ffffff"
  40. android:textSize="15sp" />
  41. </RelativeLayout>
  42. <ImageView
  43. android:layout_width="match_parent"
  44. android:layout_height="1dp"
  45. android:layout_marginBottom="10dp"
  46. android:background="#555457" />
  47. <FrameLayout
  48. android:id="@+id/keyboard_layer"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content">
  51. <me.yoqi.android.safekeyboard.keyboard.CustomKeyboardView
  52. android:id="@+id/keyboard_view"
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:background="#7d7d7d"
  56. android:focusable="true"
  57. android:focusableInTouchMode="true"
  58. android:keyBackground="@drawable/keyboard_number_selector_bg"
  59. android:keyPreviewLayout="@null"
  60. android:keyTextColor="#ffffff"
  61. android:visibility="gone" />
  62. <me.yoqi.android.safekeyboard.keyboard.CustomKeyboardView
  63. android:id="@+id/keyboard_view_2"
  64. android:layout_width="match_parent"
  65. android:layout_height="wrap_content"
  66. android:background="#7d7d7d"
  67. android:focusable="true"
  68. android:focusableInTouchMode="true"
  69. android:keyBackground="@drawable/keyboard_selector_bg"
  70. android:keyPreviewHeight="90dp"
  71. android:keyPreviewLayout="@layout/keyboard_key_preview_layout"
  72. android:keyPreviewOffset="45dp"
  73. android:keyTextColor="#ffffff"
  74. android:visibility="gone" />
  75. </FrameLayout>
  76. </LinearLayout>
  77. </RelativeLayout>