<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout android:id="@id/rl_notification" android:background="@android:color/white" android:layout_width="fill_parent" android:layout_height="64.0dip"
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
<ImageView android:id="@id/image" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" android:layout_alignParentLeft="true" android:layout_centerVertical="true" />
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/image" android:layout_centerVertical="true">
|
<LinearLayout android:orientation="horizontal" android:id="@id/ll_title_bar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
|
<TextView android:ellipsize="end" android:layout_gravity="center_vertical" android:id="@id/title" android:layout_width="fill_parent" android:layout_height="wrap_content" android:maxLines="1" android:layout_weight="1.0" style="@style/NotificationTitle" />
|
<TextView android:layout_gravity="center_vertical" android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="5.0dip" style="@style/NotificationText" />
|
</LinearLayout>
|
<TextView android:ellipsize="end" android:id="@id/text" android:layout_width="fill_parent" android:layout_height="wrap_content" android:maxLines="2" android:layout_below="@id/ll_title_bar" style="@style/NotificationText" />
|
</RelativeLayout>
|
</RelativeLayout>
|