/ime/latinime/res/layout/recognition_status.xml

http://eyes-free.googlecode.com/ · XML · 98 lines · 67 code · 13 blank · 18 comment · 0 complexity · a8549cc2e381d1a41702f46e416a62a4 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2009, The Android Open Source Project
  6. **
  7. ** Licensed under the Apache License, Version 2.0 (the "License");
  8. ** you may not use this file except in compliance with the License.
  9. ** You may obtain a copy of the License at
  10. **
  11. ** http://www.apache.org/licenses/LICENSE-2.0
  12. **
  13. ** Unless required by applicable law or agreed to in writing, software
  14. ** distributed under the License is distributed on an "AS IS" BASIS,
  15. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ** See the License for the specific language governing permissions and
  17. ** limitations under the License.
  18. */
  19. -->
  20. <LinearLayout
  21. xmlns:android="http://schemas.android.com/apk/res/android"
  22. android:orientation="vertical"
  23. android:layout_height="wrap_content"
  24. android:layout_width="wrap_content"
  25. android:background="@android:color/black"
  26. android:paddingBottom="0dip"
  27. android:paddingLeft="0dip"
  28. android:paddingRight="0dip"
  29. >
  30. <LinearLayout
  31. xmlns:android="http://schemas.android.com/apk/res/android"
  32. android:id="@+id/main_image"
  33. android:orientation="vertical"
  34. android:background="@drawable/voice_ime_background"
  35. android:scaleType="fitXY"
  36. android:layout_width="fill_parent"
  37. android:layout_height="180dip"
  38. android:paddingBottom="2dip"
  39. android:paddingTop="2dip"
  40. >
  41. <TextView android:id="@+id/text"
  42. android:text="@string/voice_initializing"
  43. android:layout_height="wrap_content"
  44. android:layout_width="wrap_content"
  45. android:layout_marginTop="15dip"
  46. android:textSize="28sp"
  47. android:textColor="#ffffff"
  48. android:layout_gravity="center_horizontal"
  49. />
  50. <ImageView android:id="@+id/image"
  51. android:layout_height="wrap_content"
  52. android:layout_width="wrap_content"
  53. android:layout_marginTop="20dip"
  54. android:layout_gravity="center_horizontal"
  55. android:src="@drawable/mic_slash"
  56. />
  57. <ProgressBar android:id="@+id/progress"
  58. android:layout_height="60dip"
  59. android:layout_width="60dip"
  60. android:layout_gravity="center"
  61. android:visibility="gone"
  62. android:indeterminate="true"
  63. android:indeterminateOnly="false"
  64. />
  65. </LinearLayout>
  66. <LinearLayout android:id="@+id/button"
  67. android:orientation="vertical"
  68. android:background="@drawable/ok_cancel"
  69. android:scaleType="fitXY"
  70. android:layout_width="fill_parent"
  71. android:layout_height="42dip"
  72. android:paddingLeft="1dip"
  73. android:paddingRight="1dip"
  74. >
  75. <TextView android:id="@+id/button_text"
  76. android:text="@string/cancel"
  77. android:layout_height="wrap_content"
  78. android:layout_width="wrap_content"
  79. android:layout_marginTop="7dip"
  80. android:textSize="19sp"
  81. android:textColor="#ffffff"
  82. android:layout_gravity="center_horizontal"
  83. />
  84. </LinearLayout>
  85. </LinearLayout>