mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -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:
parent
897f6e3d1c
commit
08092c5b8a
@ -5,6 +5,22 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
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
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -27,12 +43,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<!-- Color chip -->
|
|
||||||
<View
|
|
||||||
android:id="@+id/chip"
|
|
||||||
android:layout_width="6dip"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_marginRight="6dip"/>
|
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -79,7 +89,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="6dip"
|
android:padding="6dip"
|
||||||
android:layout_marginLeft="4dp">
|
android:layout_marginLeft="2dp">
|
||||||
|
|
||||||
<!-- From -->
|
<!-- From -->
|
||||||
<TextView
|
<TextView
|
||||||
@ -185,7 +195,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_margin="10dp"
|
android:layout_margin="8dp"
|
||||||
android:layout_marginRight="6dip"
|
android:layout_marginRight="6dip"
|
||||||
android:singleLine="false"
|
android:singleLine="false"
|
||||||
android:ellipsize="none"
|
android:ellipsize="none"
|
||||||
@ -193,11 +203,14 @@
|
|||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textIsSelectable="true" />
|
android:textIsSelectable="true" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_height="1dip"
|
android:layout_height="1dip"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_below="@id/additional_headers_view"
|
|
||||||
android:background="@drawable/divider_horizontal_email"/>
|
android:background="@drawable/divider_horizontal_email"/>
|
||||||
|
|
||||||
<!-- Button area -->
|
<!-- Button area -->
|
||||||
|
Loading…
Reference in New Issue
Block a user