eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.xml 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. android:padding="8dp" >
  7. <LinearLayout
  8. android:id="@+id/loading"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:gravity="center"
  12. android:orientation="vertical"
  13. android:visibility="gone" >
  14. <ProgressBar
  15. style="?android:attr/progressBarStyleLarge"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_marginBottom="16dp" />
  19. <TextView
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:text="@string/loading" />
  23. </LinearLayout>
  24. <RelativeLayout
  25. android:id="@+id/success"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:visibility="visible" >
  29. <LinearLayout
  30. android:id="@+id/properties"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:orientation="vertical" >
  34. <LinearLayout
  35. android:id="@+id/currentLocaleLayout"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_marginBottom="4dp" >
  39. <TextView
  40. android:id="@+id/currentLocaleLabel"
  41. android:layout_width="0dp"
  42. android:layout_height="wrap_content"
  43. android:layout_weight="0.6"
  44. android:text="@string/current_tts_locale"
  45. android:textAppearance="?android:attr/textAppearanceLarge" />
  46. <TextView
  47. android:id="@+id/currentLocale"
  48. style="@android:style/TextAppearance.Large"
  49. android:layout_width="0dp"
  50. android:layout_height="wrap_content"
  51. android:layout_weight="0.4" />
  52. </LinearLayout>
  53. <LinearLayout
  54. android:id="@+id/availableVoicesLayout"
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:layout_marginBottom="4dp" >
  58. <TextView
  59. android:id="@+id/availableVoicesLabel"
  60. android:layout_width="0dp"
  61. android:layout_height="wrap_content"
  62. android:layout_weight="0.6"
  63. android:text="@string/available_voices"
  64. android:textAppearance="?android:attr/textAppearanceLarge" />
  65. <TextView
  66. android:id="@+id/availableVoices"
  67. style="@android:style/TextAppearance.Large"
  68. android:layout_width="0dp"
  69. android:layout_height="wrap_content"
  70. android:layout_marginBottom="16dp"
  71. android:layout_weight="0.4" />
  72. </LinearLayout>
  73. </LinearLayout>
  74. <LinearLayout
  75. android:id="@+id/settings"
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:layout_alignParentBottom="true"
  79. android:orientation="vertical" >
  80. <LinearLayout
  81. android:id="@+id/engineSettingsLayout"
  82. android:layout_width="match_parent"
  83. android:layout_height="wrap_content" >
  84. <Button
  85. android:id="@+id/engineSettings"
  86. android:layout_width="0dp"
  87. android:layout_height="wrap_content"
  88. android:layout_marginLeft="-4dp"
  89. android:layout_weight="0.5"
  90. android:text="@string/engine_settings" />
  91. <TextView
  92. android:id="@+id/textView1"
  93. android:layout_width="0dp"
  94. android:layout_height="wrap_content"
  95. android:layout_weight="0.5"
  96. android:textAppearance="?android:attr/textAppearanceMedium" />
  97. </LinearLayout>
  98. <LinearLayout
  99. android:id="@+id/ttsSettingsLayout"
  100. android:layout_width="match_parent"
  101. android:layout_height="wrap_content" >
  102. <Button
  103. android:id="@+id/ttsSettings"
  104. android:layout_width="0dp"
  105. android:layout_height="wrap_content"
  106. android:layout_marginLeft="-4dp"
  107. android:layout_weight="0.5"
  108. android:text="@string/tts_settings" />
  109. <TextView
  110. android:id="@+id/textView2"
  111. android:layout_width="0dp"
  112. android:layout_height="wrap_content"
  113. android:layout_weight="0.5"
  114. android:textAppearance="?android:attr/textAppearanceMedium" />
  115. </LinearLayout>
  116. </LinearLayout>
  117. </RelativeLayout>
  118. <LinearLayout
  119. android:id="@+id/failure"
  120. android:layout_width="match_parent"
  121. android:layout_height="wrap_content"
  122. android:orientation="vertical"
  123. android:visibility="gone" >
  124. <TextView
  125. style="@android:style/TextAppearance.Large"
  126. android:layout_width="wrap_content"
  127. android:layout_height="wrap_content"
  128. android:text="@string/loading_failed" />
  129. </LinearLayout>
  130. </LinearLayout>