mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
64eda5106c
Start to improve padding/spacing/layout
48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:background="@drawable/folder_message_list_group_background"
|
|
|
|
android:paddingLeft="36px"
|
|
android:paddingRight="4px">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="center_vertical">
|
|
<TextView
|
|
android:id="@+id/folder_name"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/folder_status"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:attr/textColorTertiary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<View
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="0px"
|
|
android:layout_weight="1" />
|
|
<TextView
|
|
android:id="@+id/folder_unread_message_count"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/text_box_light"
|
|
android:paddingLeft="10px"
|
|
android:paddingRight="10px"
|
|
android:minWidth="64px"
|
|
android:gravity="right" />
|
|
</LinearLayout>
|