small ui overhauls. unified text sizes. made text a bit smaller. moved messages more closer together

iNPUTmice created

Change summary

res/layout/account_row.xml              |  6 +++---
res/layout/activity_contact_details.xml | 12 ++++++------
res/layout/activity_muc_details.xml     |  4 ++--
res/layout/cert_warning.xml             |  8 ++++----
res/layout/contact.xml                  |  1 +
res/layout/conversation_list_row.xml    |  2 +-
res/layout/dialog_clear_history.xml     |  2 +-
res/layout/dialog_verify_otr.xml        |  6 +++---
res/layout/fragment_conversation.xml    |  6 +++---
res/layout/message_recieved.xml         | 15 +++++++++++----
res/layout/message_sent.xml             | 15 +++++++++++----
res/layout/otr_fingerprint.xml          |  4 ++--
12 files changed, 48 insertions(+), 33 deletions(-)

Detailed changes

res/layout/account_row.xml 🔗

@@ -19,7 +19,7 @@
             android:id="@+id/account_jid"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:textSize="20sp"
+            android:textSize="18sp"
             android:singleLine="true"
 	        android:scrollHorizontally="false"/>
 
@@ -35,7 +35,7 @@
                 android:layout_height="wrap_content"
                 android:text="@string/account_status"
                 android:textStyle="bold"
-               	android:textSize="16sp" />
+               	android:textSize="14sp" />
 
             <TextView
                 android:id="@+id/account_status"
@@ -45,7 +45,7 @@
                 android:textColor="#669900"
                 android:text="@string/account_status_unknown"
                 android:textStyle="bold"
-                android:textSize="16sp"/>
+                android:textSize="14sp"/>
 
         </LinearLayout>
 

res/layout/activity_contact_details.xml 🔗

@@ -44,14 +44,14 @@
                 android:paddingLeft="8dp"
                 android:singleLine="true"
                 android:textColor="#5b5b5b"
-                android:textSize="18sp" />
+                android:textSize="14sp" />
 
             <TextView
                 android:id="@+id/details_contactstatus"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:paddingLeft="16dp"
-                android:textSize="24sp"
+                android:textSize="18sp"
                 android:textStyle="bold" />
             <TextView
                 android:id="@+id/details_lastseen"
@@ -77,7 +77,7 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:paddingLeft="8dp"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:textColor="#5b5b5b" />
    <TextView
         style="@style/sectionHeader"
@@ -91,7 +91,7 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/send_presence_updates"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:textColor="#5b5b5b" />
 
         <CheckBox
@@ -99,7 +99,7 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/receive_presence_updates"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:textColor="#5b5b5b" />
         
 	<TextView 
@@ -110,7 +110,7 @@
         android:layout_height="wrap_content"
         android:text="@string/ask_again"
         android:textColor="#33B5E5"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:visibility="gone"
 	    />
  <TextView

res/layout/activity_muc_details.xml 🔗

@@ -53,7 +53,7 @@
         android:padding="8dp"
         android:singleLine="true"
         android:textColor="#5b5b5b"
-        android:textSize="18sp"/>
+        android:textSize="14sp"/>
 
     <TextView
         style="@style/sectionHeader"
@@ -102,7 +102,7 @@
         android:layout_height="wrap_content"
         android:padding="8dp"
         android:singleLine="true"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:textColor="#5b5b5b"/>
     
     <LinearLayout

res/layout/cert_warning.xml 🔗

@@ -9,14 +9,14 @@
         android:id="@+id/hint"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:textSize="18sp"/>
+        android:textSize="14sp"/>
     
      <TextView
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:textColor="#FFe92727"
         android:textStyle="bold"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:text="Do not connect unless you know exactly what you are doing"
         android:paddingTop="8dp"
         android:paddingBottom="8dp"/>
@@ -24,7 +24,7 @@
      <TextView
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:text="The SHA1 fingerprint is:" />
 
     <TextView
@@ -36,6 +36,6 @@
         android:layout_height="wrap_content"
         android:typeface="monospace"
         android:textStyle="bold"
-        android:textSize="20sp"/>
+        android:textSize="18sp"/>
 
 </LinearLayout>

res/layout/contact.xml 🔗

@@ -34,6 +34,7 @@
         android:layout_height="wrap_content"
         android:textColor="#5b5b5b"
         android:singleLine="true"
+        android:textSize="14sp"
         />
     <TextView 
         android:id="@+id/key"

res/layout/conversation_list_row.xml 🔗

@@ -26,7 +26,7 @@
 	        android:layout_toLeftOf="@+id/conversation_lastupdate"
 	        android:singleLine="true"
 	        android:textColor="#636363"
-	        android:textSize="20sp"
+	        android:textSize="18sp"
 	        android:typeface="sans" />
 	 
 	    <LinearLayout

res/layout/dialog_clear_history.xml 🔗

@@ -8,7 +8,7 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/clear_histor_msg"
-        android:textSize="18sp"
+        android:textSize="14sp"
         android:paddingBottom="8dp"/>
     <CheckBox
         android:id="@+id/end_conversation_checkbox"

res/layout/dialog_verify_otr.xml 🔗

@@ -13,7 +13,7 @@
         android:paddingTop="8dp"
         android:text="Jabber ID"
         android:textColor="#33B5E5"
-        android:textSize="20sp"/>
+        android:textSize="18sp"/>
 
     <TextView
         android:id="@+id/verify_otr_jid"
@@ -27,7 +27,7 @@
         android:paddingTop="8dp"
         android:text="OTR fingerprint"
         android:textColor="#33B5E5"
-        android:textSize="20sp"/>
+        android:textSize="18sp"/>
 
     <TextView
         android:id="@+id/verify_otr_fingerprint"
@@ -42,7 +42,7 @@
         android:paddingTop="8dp"
         android:text="Your fingerprint"
         android:textColor="#33B5E5"
-        android:textSize="20sp"/>
+        android:textSize="18sp"/>
 
     <TextView
         android:id="@+id/verify_otr_yourprint"

res/layout/fragment_conversation.xml 🔗

@@ -78,7 +78,7 @@
                 android:layout_height="wrap_content"
                 android:padding="6dp"
                 android:textColor="#eee"
-                android:textSize="20sp"
+                android:textSize="18sp"
                 android:textStyle="bold" />
 
             <TextView
@@ -105,7 +105,7 @@
                 android:padding="6dp"
                 android:text="@string/unknown_otr_fingerprint"
                 android:textColor="#eee"
-                android:textSize="20sp"
+                android:textSize="18sp"
                 android:textStyle="bold" />
 
             <TextView
@@ -134,7 +134,7 @@
                 android:padding="6dp"
                 android:text="@string/openpgp_messages_found"
                 android:textColor="#eee"
-                android:textSize="20sp"
+                android:textSize="18sp"
                 android:textStyle="bold" />
 
             <TextView

res/layout/message_recieved.xml 🔗

@@ -3,7 +3,10 @@
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:orientation="vertical"
-    android:padding="8dp" >
+    android:paddingLeft="8dp"
+    android:paddingRight="8dp"
+    android:paddingBottom="4dp"
+    android:paddingTop="4dp">
 
     <LinearLayout
         android:id="@+id/message_box"
@@ -20,7 +23,10 @@
             android:background="#ededed"
             android:orientation="vertical"
             android:gravity="center_vertical"
-            android:padding="3dp" >
+            android:paddingTop="4dp"
+            android:paddingBottom="4dp"
+            android:paddingRight="5dp"
+            android:paddingLeft="5dp">
 
             <ImageView 
                 android:id="@+id/message_image"
@@ -39,7 +45,7 @@
                 android:autoLink="web"
                 android:textIsSelectable="true"
                 android:textColor="#333333"
-                android:textSize="16sp"/>
+                android:textSize="14sp"/>
 
             <Button
                 android:id="@+id/download_button"
@@ -52,7 +58,8 @@
            <LinearLayout
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
-                android:orientation="horizontal" >
+                android:orientation="horizontal"
+                android:paddingTop="1dp">
 
                 <ImageView
                     android:id="@+id/security_indicator"

res/layout/message_sent.xml 🔗

@@ -3,7 +3,10 @@
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:orientation="vertical"
-    android:padding="8dp" >
+    android:paddingLeft="8dp"
+    android:paddingRight="8dp"
+    android:paddingBottom="4dp"
+    android:paddingTop="4dp">
 
     <LinearLayout
         android:id="@+id/message_box"
@@ -20,7 +23,10 @@
             android:background="#ededed"
             android:orientation="vertical"
             android:gravity="center_vertical"
-            android:padding="3dp" >
+            android:paddingTop="4dp"
+            android:paddingBottom="4dp"
+            android:paddingRight="5dp"
+            android:paddingLeft="5dp">
             
             <ImageView 
                 android:id="@+id/message_image"
@@ -39,13 +45,14 @@
                 android:autoLink="web"
                 android:textIsSelectable="true"
                 android:textColor="#333333"
-                android:textSize="16sp" />
+                android:textSize="14sp" />
 
             <LinearLayout
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:orientation="horizontal"
-                android:layout_gravity="right">
+                android:layout_gravity="right"
+                android:paddingTop="1dp">
 
                 <TextView
                     android:id="@+id/message_time"

res/layout/otr_fingerprint.xml 🔗

@@ -9,7 +9,7 @@
         android:id="@+id/otr_no_fingerprint"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:textSize="20sp"
+        android:textSize="18sp"
         android:text="@string/no_otr_fingerprint"
         android:visibility="visible"/>
     
@@ -17,7 +17,7 @@
         android:id="@+id/otr_fingerprint"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:textSize="20sp"
+        android:textSize="18sp"
         android:typeface="monospace"
         android:visibility="gone"/>