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

This commit is contained in:
iNPUTmice 2014-07-04 16:13:52 +02:00
parent 65d62cced4
commit 99eb1743e3
12 changed files with 48 additions and 33 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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