mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -05:00
shrink down the message list views to get toward something sane
This commit is contained in:
parent
136f7bec19
commit
9dbcae5eed
53
res/layout-land/folder_message_list_child.xml
Normal file
53
res/layout-land/folder_message_list_child.xml
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<?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="19px"
|
||||||
|
android:paddingRight="1px"
|
||||||
|
android:paddingTop="3px"
|
||||||
|
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" />
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/subject"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
|
android:layout_width="310px"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_toLeftOf="@+id/from"
|
||||||
|
android:paddingLeft="10px"
|
||||||
|
android:layout_marginRight="1px" />
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/from"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:layout_toRightOf="@+id/subject"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:layout_width="120px"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
|
android:paddingLeft="5px"
|
||||||
|
android:paddingRight="5px"
|
||||||
|
android:drawablePadding="4px"
|
||||||
|
/>
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/date"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_toRightOf="@+id/from"
|
||||||
|
/>
|
||||||
|
</RelativeLayout>
|
@ -2,48 +2,52 @@
|
|||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="?android:attr/listPreferredItemHeight"
|
android:layout_height="19px"
|
||||||
android:paddingRight="10px"
|
android:paddingRight="1px"
|
||||||
|
android:paddingTop="3px"
|
||||||
android:background="@drawable/folder_message_list_child_background">
|
android:background="@drawable/folder_message_list_child_background">
|
||||||
<View
|
<View
|
||||||
android:id="@+id/chip"
|
android:id="@+id/chip"
|
||||||
android:background="@drawable/appointment_indicator_leftside_1"
|
android:background="@drawable/appointment_indicator_leftside_1"
|
||||||
android:layout_width="4px"
|
android:layout_width="4px"
|
||||||
android:layout_height="56px"
|
android:layout_height="20px"
|
||||||
android:layout_centerVertical="true" />
|
android:layout_centerVertical="true" />
|
||||||
<TextView
|
|
||||||
android:id="@+id/from"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_toRightOf="@id/chip"
|
|
||||||
android:ellipsize="end"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:paddingLeft="30px"
|
|
||||||
android:drawablePadding="4px"
|
|
||||||
android:paddingTop="12px" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/date"
|
|
||||||
android:ellipsize="end"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_alignBaseline="@+id/subject" />
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/subject"
|
android:id="@+id/subject"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textSize="10sp"
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
android:layout_width="0dip"
|
android:layout_width="200px"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/from"
|
android:layout_toLeftOf="@+id/from"
|
||||||
android:layout_alignLeft="@id/from"
|
android:paddingLeft="10px"
|
||||||
android:layout_toLeftOf="@id/date"
|
android:layout_marginRight="1px" />
|
||||||
android:paddingLeft="30px"
|
<TextView
|
||||||
android:layout_marginRight="6dip" />
|
android:id="@+id/from"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:layout_toRightOf="@+id/subject"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:layout_width="70px"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
|
android:paddingLeft="5px"
|
||||||
|
android:paddingRight="5px"
|
||||||
|
android:drawablePadding="4px"
|
||||||
|
/>
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/date"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_toRightOf="@+id/from"
|
||||||
|
/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -126,7 +126,7 @@ public final class R {
|
|||||||
public static final int check_mail=0x7f0a0047;
|
public static final int check_mail=0x7f0a0047;
|
||||||
public static final int chip=0x7f0a0024;
|
public static final int chip=0x7f0a0024;
|
||||||
public static final int compose=0x7f0a0048;
|
public static final int compose=0x7f0a0048;
|
||||||
public static final int date=0x7f0a0026;
|
public static final int date=0x7f0a0027;
|
||||||
public static final int debug_logging=0x7f0a0022;
|
public static final int debug_logging=0x7f0a0022;
|
||||||
public static final int delete=0x7f0a0038;
|
public static final int delete=0x7f0a0038;
|
||||||
public static final int delete_account=0x7f0a0046;
|
public static final int delete_account=0x7f0a0046;
|
||||||
@ -141,7 +141,7 @@ public final class R {
|
|||||||
public static final int folder_name=0x7f0a0029;
|
public static final int folder_name=0x7f0a0029;
|
||||||
public static final int folder_status=0x7f0a002a;
|
public static final int folder_status=0x7f0a002a;
|
||||||
public static final int forward=0x7f0a004a;
|
public static final int forward=0x7f0a004a;
|
||||||
public static final int from=0x7f0a0025;
|
public static final int from=0x7f0a0026;
|
||||||
public static final int imap=0x7f0a0001;
|
public static final int imap=0x7f0a0001;
|
||||||
public static final int imap_path_prefix=0x7f0a0015;
|
public static final int imap_path_prefix=0x7f0a0015;
|
||||||
public static final int imap_path_prefix_section=0x7f0a0014;
|
public static final int imap_path_prefix_section=0x7f0a0014;
|
||||||
@ -168,7 +168,7 @@ public final class R {
|
|||||||
public static final int sensitive_logging=0x7f0a0023;
|
public static final int sensitive_logging=0x7f0a0023;
|
||||||
public static final int show_pictures=0x7f0a0041;
|
public static final int show_pictures=0x7f0a0041;
|
||||||
public static final int show_pictures_section=0x7f0a0040;
|
public static final int show_pictures_section=0x7f0a0040;
|
||||||
public static final int subject=0x7f0a0027;
|
public static final int subject=0x7f0a0025;
|
||||||
public static final int text1=0x7f0a0042;
|
public static final int text1=0x7f0a0042;
|
||||||
public static final int text2=0x7f0a0043;
|
public static final int text2=0x7f0a0043;
|
||||||
public static final int to=0x7f0a002b;
|
public static final int to=0x7f0a002b;
|
||||||
|
Loading…
Reference in New Issue
Block a user