mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-01 08:05:08 -04:00
64eda5106c
Start to improve padding/spacing/layout
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="20px"
|
|
android:paddingRight="1px"
|
|
android:paddingTop="2px"
|
|
android:background="@drawable/folder_message_list_child_background">
|
|
<View
|
|
android:id="@+id/chip"
|
|
android:background="@drawable/appointment_indicator_leftside_1"
|
|
android:layout_width="4px"
|
|
android:layout_height="20px"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentLeft="true" />
|
|
<TextView
|
|
android:id="@+id/date"
|
|
android:ellipsize="end"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:singleLine="true"
|
|
android:textColor="?android:attr/textColorPrimaryInverse"
|
|
android:layout_width="50px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true" />
|
|
<TextView
|
|
android:id="@+id/from"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:layout_width="110px"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorSecondaryInverse"
|
|
android:paddingLeft="3px"
|
|
android:paddingRight="3px"
|
|
android:layout_toLeftOf="@+id/date" />
|
|
<TextView
|
|
android:id="@+id/subject"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorPrimaryInverse"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="10px"
|
|
android:layout_marginRight="1px"
|
|
android:layout_toRightOf="@+id/chip"
|
|
android:layout_toLeftOf="@+id/from" />
|
|
</RelativeLayout>
|
|
|