aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorLuca Zanolin <zano@google.com>2011-01-24 10:36:15 +0000
committerLuca Zanolin <zano@google.com>2011-01-24 10:36:15 +0000
commit2c5ec3a50dc9c20cb89fd6219f84600e65dddc6e (patch)
tree471f8620e7155db8b436e3a73054f682447f4a9f /java/res
parent603e72baa26813d47e32b9c274268384e30d7317 (diff)
downloadlatinime-2c5ec3a50dc9c20cb89fd6219f84600e65dddc6e.tar.gz
latinime-2c5ec3a50dc9c20cb89fd6219f84600e65dddc6e.tar.xz
latinime-2c5ec3a50dc9c20cb89fd6219f84600e65dddc6e.zip
Always display the VoiceIME language in the Speak Now pop-up
Change-Id: I1b01458aff98447b7b3d5459b765968bed5515cb
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 b2c9f4a51..81fae2ada 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"