diff options
author | Sandeep Siddhartha <sansid@google.com> | 2014-10-06 16:46:55 -0700 |
---|---|---|
committer | Sandeep Siddhartha <sansid@google.com> | 2014-10-07 11:24:51 -0700 |
commit | b585ac5b5e672c11c80a01eb42a0d3ebd495f21b (patch) | |
tree | d1ea45482784a05a460317d65d91186f288f3902 /tests/VoiceEnrollment/res/layout | |
parent | fc8d65197a6404a93f1230ac5ebc635438a5c094 (diff) | |
download | frameworks_base-b585ac5b5e672c11c80a01eb42a0d3ebd495f21b.zip frameworks_base-b585ac5b5e672c11c80a01eb42a0d3ebd495f21b.tar.gz frameworks_base-b585ac5b5e672c11c80a01eb42a0d3ebd495f21b.tar.bz2 |
Add tests for model management [SDK Only]
This doesn't change any functionality/APIs etc.
It allows us to launch the activity and manually test the enrollment
methods.
Bug: 17885286
Change-Id: I506d9bb98a592131c04a50c9d6224164ffe07183
Diffstat (limited to 'tests/VoiceEnrollment/res/layout')
-rw-r--r-- | tests/VoiceEnrollment/res/layout/main.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/VoiceEnrollment/res/layout/main.xml b/tests/VoiceEnrollment/res/layout/main.xml new file mode 100644 index 0000000..9d2b9d9 --- /dev/null +++ b/tests/VoiceEnrollment/res/layout/main.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 Google Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + > + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/enroll" + android:onClick="onEnrollButtonClicked" + android:padding="20dp" /> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/reenroll" + android:onClick="onReEnrollButtonClicked" + android:padding="20dp" /> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/unenroll" + android:onClick="onUnEnrollButtonClicked" + android:padding="20dp" /> +</LinearLayout>
\ No newline at end of file |