aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2011-01-24 03:01:18 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-01-24 03:01:18 -0800
commitd07ab27af1ef362b6d48275802cde97c97e858b3 (patch)
treebe7dcd491b853357540c9c266e0604ee3b768f07 /java/res
parentf83ae3355c3da38f3a4e76e26fb450d2cc492301 (diff)
parent0dd0ea63aba4876e67242baf8bb508ded1d73871 (diff)
downloadlatinime-d07ab27af1ef362b6d48275802cde97c97e858b3.tar.gz
latinime-d07ab27af1ef362b6d48275802cde97c97e858b3.tar.xz
latinime-d07ab27af1ef362b6d48275802cde97c97e858b3.zip
am 0dd0ea63: Merge "Always display the VoiceIME language in the Speak Now pop-up" into honeycomb
* commit '0dd0ea63aba4876e67242baf8bb508ded1d73871': Always display the VoiceIME language in the Speak Now pop-up
Diffstat (limited to 'java/res')
-rw-r--r--java/res/layout/recognition_status.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/java/res/layout/recognition_status.xml b/java/res/layout/recognition_status.xml
index b00432f0c..9474d6f58 100644
--- a/java/res/layout/recognition_status.xml
+++ b/java/res/layout/recognition_status.xml
@@ -70,6 +70,22 @@
android:layout_centerInParent="true"
android:visibility="gone"/>
</RelativeLayout>
+ <!--
+ The text is set by the code. We specify a random text (voice_error), so the
+ text view does not have a zero height. This is necessary to keep the slash
+ mic and the recording mic is the same position
+ -->
+ <TextView
+ android:id="@+id/language"
+ android:text="@string/voice_error"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:singleLine="true"
+ android:textSize="14sp"
+ android:layout_marginBottom="3dip"
+ android:layout_gravity="center"
+ android:textColor="#ffffff"
+ android:visibility="invisible"/>
<Button
android:id="@+id/button"
android:layout_width="match_parent"