diff options
| author | bringert <bringert@google.com> | 2013-10-04 16:26:46 +0000 |
|---|---|---|
| committer | bringert <bringert@google.com> | 2013-10-04 16:26:46 +0000 |
| commit | a35b286ce040919a71d27e5bf696886237c6c470 (patch) | |
| tree | 4e54cc1994a7f0760f76b0efe8c9e85ef38ec9ef /src/ui/android/res/drawable | |
| parent | f156a5e8f9c903f132541e1c34f1c9f5c1ee69af (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/drawable')
| -rw-r--r-- | src/ui/android/res/drawable/brushed_metal.png | bin | 36233 -> 0 bytes | |||
| -rw-r--r-- | src/ui/android/res/drawable/first_person_utterance_bg.xml | 6 | ||||
| -rw-r--r-- | src/ui/android/res/drawable/icon.png | bin | 2574 -> 0 bytes | |||
| -rw-r--r-- | src/ui/android/res/drawable/second_person_utterance_bg.xml | 6 |
4 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/android/res/drawable/brushed_metal.png b/src/ui/android/res/drawable/brushed_metal.png Binary files differdeleted file mode 100644 index c2f03fe7d..000000000 --- a/src/ui/android/res/drawable/brushed_metal.png +++ /dev/null diff --git a/src/ui/android/res/drawable/first_person_utterance_bg.xml b/src/ui/android/res/drawable/first_person_utterance_bg.xml new file mode 100644 index 000000000..9eb02aef1 --- /dev/null +++ b/src/ui/android/res/drawable/first_person_utterance_bg.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <corners android:radius="4dp" /> + <solid android:color="#75CD75" /> +</shape>
\ No newline at end of file diff --git a/src/ui/android/res/drawable/icon.png b/src/ui/android/res/drawable/icon.png Binary files differdeleted file mode 100644 index a07c69fa5..000000000 --- a/src/ui/android/res/drawable/icon.png +++ /dev/null diff --git a/src/ui/android/res/drawable/second_person_utterance_bg.xml b/src/ui/android/res/drawable/second_person_utterance_bg.xml new file mode 100644 index 000000000..4acf07c67 --- /dev/null +++ b/src/ui/android/res/drawable/second_person_utterance_bg.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <corners android:radius="4dp" /> + <solid android:color="#7575CD" /> +</shape>
\ No newline at end of file |
