blob: 94119d052de652b4976ff90b23cc13cf0ab472a9 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2011 Google Inc. -->
<!-- This layout is used as a template to create custom view CanvasConversationHeaderView
in normal mode. To be able to get the correct measurements, every source field should
be populated with data here. E.g:
- Text View should set text to a random long string (android:text="@string/long_string")
- Image View should set source to a specific asset -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="70sp"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
<ImageView
android:id="@+id/personal_level"
style="@style/PersonalIndicatorStyle"
android:src="@drawable/ic_email_caret_single" />
<TextView
android:id="@+id/senders"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/SendersStyle"
android:text="@string/long_string"
android:textSize="@dimen/senders_font_size"
android:lines="1"
android:layout_toRightOf="@id/personal_level" />
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="@dimen/total_conversationbar_width"
android:layout_alignParentRight="true">
<TextView
android:id="@+id/labels"
android:layout_width="@dimen/max_total_label_width"
android:layout_height="wrap_content"
android:text="@string/long_string"
android:textSize="@dimen/labels_font_size"
android:lines="1"
android:paddingTop="1dip"
android:layout_marginTop="10sp" />
<ImageView
android:id="@+id/paperclip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_attachment_holo_light"
android:layout_marginTop="6sp" />
<TextView
android:id="@+id/date"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/long_string"
android:textSize="@dimen/date_font_size"
android:lines="1"
android:layout_marginRight="16dip"
android:layout_marginTop="10sp" />
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
style="@style/CheckmarkStyle"
android:id="@+id/checkmark"
android:src="@drawable/btn_check_on_normal_holo_light"/>
<TextView
android:id="@+id/subject"
android:layout_width="@dimen/subject_width"
style="@style/SubjectStyle"
android:text="@string/long_string"
android:lines="2"/>
<ImageView
android:id="@+id/star"
style="@style/StarStyle"
android:src="@drawable/btn_star_off_normal_email_holo_light" />
</LinearLayout>
</LinearLayout>