• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (C) 2011 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *      http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19
20<com.android.cellbroadcastreceiver.CellBroadcastListItem xmlns:android="http://schemas.android.com/apk/res/android"
21    android:layout_width="match_parent"
22    android:layout_height="?android:attr/listPreferredItemHeight"
23    android:background="@drawable/list_item_background_unread"
24    android:paddingRight="10dip" >
25
26    <TextView android:id="@+id/channel"
27        android:layout_width="wrap_content"
28        android:layout_height="wrap_content"
29        android:textAppearance="?android:attr/textAppearanceMediumInverse"
30        android:singleLine="true"
31        android:layout_marginTop="6dip"
32        android:layout_marginRight="5dip"
33        android:layout_marginLeft="7dip"
34        android:layout_alignParentTop="true"
35        android:layout_alignWithParentIfMissing="true"
36        android:ellipsize="marquee"  />
37
38    <TextView android:id="@+id/date"
39        android:layout_marginTop="6dip"
40        android:layout_marginRight="5dip"
41        android:layout_height="wrap_content"
42        android:layout_width="wrap_content"
43        android:textAppearance="?android:attr/textAppearanceSmallInverse"
44        android:singleLine="true"
45        android:layout_alignParentRight="true"
46        android:layout_alignParentTop="true" />
47
48    <TextView android:id="@+id/message"
49        android:layout_width="wrap_content"
50        android:layout_height="wrap_content"
51        android:textAppearance="?android:attr/textAppearanceSmallInverse"
52        android:singleLine="true"
53        android:layout_marginBottom="10dip"
54        android:layout_marginLeft="7dip"
55        android:layout_alignParentBottom="true"
56        android:layout_alignWithParentIfMissing="true"
57        android:ellipsize="end" />
58
59</com.android.cellbroadcastreceiver.CellBroadcastListItem>
60