12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:background="#ffffff"
- android:layout_height="64dp">
- <RelativeLayout
- android:id="@+id/upush_notification1"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="10dp"
- android:layout_marginTop="10dp">
- <ImageView
- android:id="@+id/notification_large_icon1"
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:scaleType="fitXY" />
- <TextView
- android:id="@+id/notification_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="10dp"
- android:layout_marginTop="3dp"
- android:layout_toRightOf="@+id/notification_large_icon1"
- android:maxLines="1"
- android:text="Title"
- android:textColor="#000000"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/notification_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/notification_title"
- android:layout_marginLeft="10dp"
- android:layout_marginTop="3dp"
- android:layout_toRightOf="@+id/notification_large_icon1"
- android:ellipsize="marquee"
- android:focusable="true"
- android:focusableInTouchMode="true"
- android:marqueeRepeatLimit="marquee_forever"
- android:scrollHorizontally="false"
- android:fadingEdge="horizontal"
- android:singleLine="true"
- android:text="Message"
- android:textColor="#000000" />
- <requestFocus />
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/upush_notification2"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone">
- <ImageView
- android:id="@+id/notification_large_icon2"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scaleType="fitXY" />
- </RelativeLayout>
- </RelativeLayout>
|