aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/fragment_conversation.xml2
-rw-r--r--res/layout/otr_fingerprint.xml10
2 files changed, 10 insertions, 2 deletions
diff --git a/res/layout/fragment_conversation.xml b/res/layout/fragment_conversation.xml
index 0ecccc68..ca09d770 100644
--- a/res/layout/fragment_conversation.xml
+++ b/res/layout/fragment_conversation.xml
@@ -26,7 +26,7 @@
android:layout_toLeftOf="@+id/textSendButton"
android:background="#eee"
android:ems="10"
- android:inputType="textMultiLine"
+ android:inputType="textShortMessage|textMultiLine|textCapSentences"
android:minLines="1" >
<requestFocus />
</EditText>
diff --git a/res/layout/otr_fingerprint.xml b/res/layout/otr_fingerprint.xml
index 666dadcd..b9eafca4 100644
--- a/res/layout/otr_fingerprint.xml
+++ b/res/layout/otr_fingerprint.xml
@@ -6,11 +6,19 @@
android:padding="8dp">
<TextView
+ android:id="@+id/otr_no_fingerprint"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="20sp"
+ android:text="@string/no_otr_fingerprint"
+ android:visibility="visible"/>
+
+ <TextView
android:id="@+id/otr_fingerprint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp"
android:typeface="monospace"
- android:text="@string/no_otr_fingerprint"/>
+ android:visibility="gone"/>
</LinearLayout>