summaryrefslogtreecommitdiff
path: root/src/ui/android/res/layout/languages_item.xml
diff options
context:
space:
mode:
authorbringert <bringert@google.com>2013-10-04 16:26:46 +0000
committerbringert <bringert@google.com>2013-10-04 16:26:46 +0000
commita35b286ce040919a71d27e5bf696886237c6c470 (patch)
tree4e54cc1994a7f0760f76b0efe8c9e85ef38ec9ef /src/ui/android/res/layout/languages_item.xml
parentf156a5e8f9c903f132541e1c34f1c9f5c1ee69af (diff)
Add new Android voice translator sample app
This adds a simple voice translator Android app that uses the JNI bindings to the PGF C runtime. Caveats: - Since the C runtime doesn't compile for Android right now, I've bundled an old copy, along with its Java bindings. That should be removed once the C runtime compiels for Android again. - Adding an automated build would be nice. - Replacing the grammar requires editing a Java file, that should really be more dynamic.
Diffstat (limited to 'src/ui/android/res/layout/languages_item.xml')
-rw-r--r--src/ui/android/res/layout/languages_item.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/android/res/layout/languages_item.xml b/src/ui/android/res/layout/languages_item.xml
new file mode 100644
index 000000000..d5f47ab27
--- /dev/null
+++ b/src/ui/android/res/layout/languages_item.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:padding="8dp"
+ android:textSize="20sp"
+ />