summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorEvan Millar <emillar@google.com>2009-08-10 16:32:58 -0700
committerEvan Millar <emillar@google.com>2009-08-12 11:27:45 -0700
commit773c6341244ed0be380b8242fb6d17d53c491f56 (patch)
tree9bf048d8655a0ce9e8974175edf1491f31d9b722 /core/res
parentb5a72b0e14aefb658695bed8d2b598b701abaf3d (diff)
downloadframeworks_base-773c6341244ed0be380b8242fb6d17d53c491f56.zip
frameworks_base-773c6341244ed0be380b8242fb6d17d53c491f56.tar.gz
frameworks_base-773c6341244ed0be380b8242fb6d17d53c491f56.tar.bz2
Add presence to ContactsHeaderWidget
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/layout-ja/contact_header_name.xml4
-rw-r--r--core/res/res/layout/contact_header.xml7
-rw-r--r--core/res/res/layout/contact_header_name.xml2
3 files changed, 12 insertions, 1 deletions
diff --git a/core/res/res/layout-ja/contact_header_name.xml b/core/res/res/layout-ja/contact_header_name.xml
index 03332b1..20df5c6 100644
--- a/core/res/res/layout-ja/contact_header_name.xml
+++ b/core/res/res/layout-ja/contact_header_name.xml
@@ -25,6 +25,8 @@
<TextView android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceLargeInverse"
android:textColor="@android:color/secondary_text_light"
/>
@@ -32,6 +34,8 @@
<TextView android:id="@+id/phonetic_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:textColor="@android:color/secondary_text_light"
/>
diff --git a/core/res/res/layout/contact_header.xml b/core/res/res/layout/contact_header.xml
index 06cd38c..73e379b 100644
--- a/core/res/res/layout/contact_header.xml
+++ b/core/res/res/layout/contact_header.xml
@@ -48,6 +48,13 @@
</LinearLayout>
+ <ImageView
+ android:id="@+id/presence"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="3dip"
+ android:paddingRight="6dip"/>
+
<CheckBox
android:id="@+id/star"
android:layout_width="wrap_content"
diff --git a/core/res/res/layout/contact_header_name.xml b/core/res/res/layout/contact_header_name.xml
index aec943e..77751c3 100644
--- a/core/res/res/layout/contact_header_name.xml
+++ b/core/res/res/layout/contact_header_name.xml
@@ -21,6 +21,6 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLargeInverse"
android:textColor="@android:color/secondary_text_light"
- android:maxLines="2"
+ android:singleLine="true"
android:ellipsize="end"
/>