Tighten up label list on crespo so we can fit more on the smaller screen.

Fixes b/5521013 need redlines for folder view

Change-Id: I7f589754b92ae19b8ce8d8698ca9bdc9c6167faa
This commit is contained in:
Mindy Pereira 2011-11-08 17:16:46 -08:00
parent cb440142ba
commit ef22e74686
9 changed files with 15 additions and 44 deletions

View File

@ -47,7 +47,7 @@
</RelativeLayout>
<TextView
android:id="@+id/spinner_count"
style="@style/unread_count"
style="@style/unreadCount"
android:includeFontPadding="false"
android:textStyle="normal"
/>

View File

@ -27,7 +27,7 @@
android:id="@+id/unread_count"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
style="@style/unread_count"
style="@style/unreadCount"
/>
<LinearLayout
android:layout_height="wrap_content"

View File

@ -18,4 +18,5 @@
android:id="@+id/display_name"
android:layout_width="match_parent"
android:ellipsize="end"
style="?android:attr/listSeparatorTextViewStyle" />
style="?android:attr/listSeparatorTextViewStyle"
android:layout_marginLeft="@dimen/mailbox_list_padding_left" />

View File

@ -27,15 +27,9 @@
>
<TextView
android:id="@+id/message_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/mailbox_list_count_margin_left"
android:layout_marginRight="@dimen/mailbox_list_padding_right"
android:singleLine="true"
android:textSize="14dip"
android:textColor="@color/text_color_primary_invertible"
style="@style/unreadCount"
/>
<RelativeLayout
android:layout_alignParentLeft="true"

View File

@ -16,10 +16,6 @@
<!-- non-xlarge, landscape -->
<resources>
<dimen name="mailbox_list_padding_left">16dip</dimen>
<dimen name="mailbox_list_padding_right">24dip</dimen>
<dimen name="mailbox_list_count_margin_left">16dip</dimen>
<dimen name="mailbox_list_width">160dip</dimen>
<dimen name="message_list_width">160dip</dimen>
<dimen name="action_bar_account_name_max_width">100dip</dimen>

View File

@ -16,10 +16,6 @@
<!-- non-xlarge, portrait -->
<resources>
<dimen name="mailbox_list_padding_left">16dip</dimen>
<dimen name="mailbox_list_padding_right">16dip</dimen>
<dimen name="mailbox_list_count_margin_left">8dip</dimen>
<dimen name="mailbox_list_width">100dip</dimen>
<dimen name="message_list_width">100dip</dimen>
<dimen name="action_bar_account_name_max_width">100dip</dimen>

View File

@ -53,4 +53,9 @@
<dimen name="setup_item_inset_left">16dip</dimen>
<dimen name="setup_item_inset_right">64dip</dimen>
<!-- Folder list items -->
<dimen name="mailbox_list_padding_left">16dip</dimen>
<dimen name="mailbox_list_padding_right">24dip</dimen>
<dimen name="mailbox_list_count_margin_left">16dip</dimen>
</resources>

View File

@ -68,4 +68,9 @@
<!-- Username/password entry -->
<dimen name="setup_credentials_input_width">340dip</dimen>
<!-- Folder list item -->
<dimen name="mailbox_list_padding_left">8dip</dimen>
<dimen name="mailbox_list_padding_right">16dip</dimen>
<dimen name="mailbox_list_count_margin_left">8dip</dimen>
</resources>

View File

@ -19,20 +19,6 @@
<style name="EmailTheme" parent="@android:style/Theme.Holo.Light">
</style>
<style name="unreadCount">
<item name="android:ellipsize">end</item>
<item name="android:singleLine">true</item>
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
<item name="android:textColor">#FF000000</item>
<item name="android:paddingLeft">3dip</item>
<item name="android:paddingRight">3dip</item>
<item name="android:paddingTop">0dip</item>
<item name="android:paddingBottom">1dip</item>
<item name="android:minWidth">20dip</item>
<item name="android:maxWidth">48dip</item>
<item name="android:gravity">center_horizontal|center_vertical</item>
</style>
<style name="ThemeNoTitleBar" parent="android:Theme.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
@ -107,18 +93,6 @@
<item name="android:ellipsize">end</item>
</style>
<style name="unread_count">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:layout_marginRight">16dip</item>
<item name="android:layout_marginLeft">4dip</item>
<item name="android:textColor">@color/text_ternary_color</item>
<item name="android:textStyle">bold</item>
<item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
<item name="android:singleLine">true</item>
</style>
<style name="Attachment" />
<style name="Attachment.Button" parent="@android:style/Widget.Holo.Button.Borderless">