pincodelock.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ownCloud Android client application
  4. Copyright (C) 2012 Bartek Przybylski
  5. Copyright (C) 2012-2013 ownCloud Inc.
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License version 2,
  8. as published by the Free Software Foundation.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. -->
  16. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  17. xmlns:oc="http://schemas.android.com/apk/res/com.owncloud.android"
  18. android:layout_width="fill_parent"
  19. android:layout_height="fill_parent"
  20. android:gravity="center_horizontal"
  21. android:orientation="vertical"
  22. android:padding="20dp" >
  23. <TextView
  24. android:id="@+id/pinHdr"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:text="@string/pincode_enter_pin_code"
  28. android:textColor="@android:color/black"
  29. android:gravity="center_horizontal"
  30. />
  31. <TextView
  32. android:id="@+id/pinHdrExpl"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:text="@string/pincode_configure_your_pin_explanation"
  36. android:textAppearance="@android:style/TextAppearance.Small"
  37. android:gravity="center_horizontal"
  38. />
  39. <LinearLayout
  40. android:layout_width="fill_parent"
  41. android:layout_height="wrap_content"
  42. android:gravity="center_horizontal" >
  43. <EditText
  44. android:id="@+id/txt1"
  45. android:focusable="true"
  46. style="@style/PassCodeStyle"
  47. android:cursorVisible="true"
  48. ><requestFocus/></EditText>
  49. <EditText
  50. android:id="@+id/txt2"
  51. style="@style/PassCodeStyle" />
  52. <EditText
  53. android:id="@+id/txt3"
  54. style="@style/PassCodeStyle" />
  55. <EditText
  56. android:id="@+id/txt4"
  57. style="@style/PassCodeStyle" />
  58. </LinearLayout>
  59. <Button
  60. android:id="@+id/cancel"
  61. android:layout_width="wrap_content"
  62. android:layout_height="wrap_content"
  63. android:text="@string/common_cancel" />
  64. </LinearLayout>