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 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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="16dp" >
  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. <LinearLayout
  25. android:id="@+id/success"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:orientation="vertical"
  29. android:visibility="visible" >
  30. <TextView
  31. android:id="@+id/currentLocale"
  32. style="@android:style/TextAppearance.Large"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_marginBottom="6dp"
  36. android:text="@string/current_tts_locale" />
  37. <TextView
  38. android:id="@+id/availableVoices"
  39. style="@android:style/TextAppearance.Large"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_marginBottom="16dp"
  43. android:text="@string/available_voices" />
  44. <Button
  45. android:id="@+id/engineSettings"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:text="@string/engine_settings" />
  49. <Button
  50. android:id="@+id/ttsSettings"
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:layout_marginBottom="6dp"
  54. android:text="@string/tts_settings" />
  55. </LinearLayout>
  56. <LinearLayout
  57. android:id="@+id/failure"
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:orientation="vertical"
  61. android:visibility="gone" >
  62. <TextView
  63. style="@android:style/TextAppearance.Large"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:text="@string/loading_failed" />
  67. </LinearLayout>
  68. </LinearLayout>