mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
move thread count up to the subject line
This commit is contained in:
parent
a8668f962d
commit
cef82a5cc3
@ -71,8 +71,9 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toRightOf="@id/contact_badge"
|
android:layout_toRightOf="@id/contact_badge"
|
||||||
android:layout_toLeftOf="@+id/date"
|
android:layout_toLeftOf="@+id/thread_count"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
|
android:layout_alignWithParentIfMissing="true"
|
||||||
>
|
>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -147,13 +148,13 @@
|
|||||||
android:layout_gravity="center|center_vertical"
|
android:layout_gravity="center|center_vertical"
|
||||||
android:textColor="?attr/messageListThreadCountForegroundColor"
|
android:textColor="?attr/messageListThreadCountForegroundColor"
|
||||||
android:background="?attr/messageListThreadCountBackground"
|
android:background="?attr/messageListThreadCountBackground"
|
||||||
|
android:layout_toLeftOf="@id/date"
|
||||||
|
android:layout_alignWithParentIfMissing="true"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignTop="@+id/preview"
|
android:layout_centerVertical="@+id/subject_wrapper"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_marginLeft="3dip"
|
||||||
android:layout_below="@+id/date"
|
android:layout_marginRight="4dip"
|
||||||
android:layout_marginLeft="4dip"
|
|
||||||
android:layout_marginRight="2dip"
|
|
||||||
android:paddingRight="4dip"
|
android:paddingRight="4dip"
|
||||||
android:paddingBottom="1dip"
|
android:paddingBottom="1dip"
|
||||||
android:paddingLeft="4dip"
|
android:paddingLeft="4dip"
|
||||||
|
@ -1847,6 +1847,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
|||||||
holder.preview.setLines(Math.max(mPreviewLines,1));
|
holder.preview.setLines(Math.max(mPreviewLines,1));
|
||||||
mFontSizes.setViewTextSize(holder.preview, mFontSizes.getMessageListPreview());
|
mFontSizes.setViewTextSize(holder.preview, mFontSizes.getMessageListPreview());
|
||||||
holder.threadCount = (TextView) view.findViewById(R.id.thread_count);
|
holder.threadCount = (TextView) view.findViewById(R.id.thread_count);
|
||||||
|
mFontSizes.setViewTextSize(holder.threadCount, mFontSizes.getMessageListSubject()); // thread count is next to subject
|
||||||
view.findViewById(R.id.selected_checkbox_wrapper).setVisibility((mCheckboxes) ? View.VISIBLE : View.GONE);
|
view.findViewById(R.id.selected_checkbox_wrapper).setVisibility((mCheckboxes) ? View.VISIBLE : View.GONE);
|
||||||
|
|
||||||
holder.flagged = (CheckBox) view.findViewById(R.id.flagged);
|
holder.flagged = (CheckBox) view.findViewById(R.id.flagged);
|
||||||
|
Loading…
Reference in New Issue
Block a user