1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

message header layout adjustments

- wrap chip around the whole header, including the subject
  and the expanded additional headers area.

- mindor padding adjustments to make whitepsace around the
  contact badge a bit more homogeneous.
This commit is contained in:
m0viefreak 2013-02-15 10:49:08 +01:00
parent 897f6e3d1c
commit 08092c5b8a

View File

@ -5,6 +5,22 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<!-- Color chip -->
<View
android:id="@+id/chip"
android:layout_width="6dip"
android:layout_height="match_parent"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -27,12 +43,6 @@
android:layout_height="wrap_content"
android:orientation="horizontal">
<!-- Color chip -->
<View
android:id="@+id/chip"
android:layout_width="6dip"
android:layout_height="match_parent"
android:layout_marginRight="6dip"/>
<RelativeLayout
android:layout_width="wrap_content"
@ -79,7 +89,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="6dip"
android:layout_marginLeft="4dp">
android:layout_marginLeft="2dp">
<!-- From -->
<TextView
@ -185,7 +195,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_margin="10dp"
android:layout_margin="8dp"
android:layout_marginRight="6dip"
android:singleLine="false"
android:ellipsize="none"
@ -193,11 +203,14 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:textIsSelectable="true" />
</LinearLayout>
</LinearLayout>
<View
android:layout_height="1dip"
android:layout_width="match_parent"
android:layout_alignParentLeft="true"
android:layout_below="@id/additional_headers_view"
android:background="@drawable/divider_horizontal_email"/>
<!-- Button area -->